mirror of
https://github.com/dokku/dokku.git
synced 2026-07-10 04:23:59 +02:00
test: stabilize scheduler-k3s cnb bats tests
Drop the assertion that the web deployment has no command since the python buildpack auto-emits a web Procfile entry, which correctly routes through launcher just like docker-local. Shorten the cron command fixture so the base36-encoded cron-id stays under the 63-byte kubernetes label limit, and relax the `dokku run` and `dokku cron:run` output assertions to `assert_output_contains` so they tolerate the leading blank line emitted on k3s.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"cron": [
|
||||
{
|
||||
"command": "python3 task.py some cron task",
|
||||
"command": "python3 task.py",
|
||||
"schedule": "5 5 5 5 5"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user