Merge pull request #414 from mrsked/traefik-start-stop-run-errors

Don't hide Traefik errors
This commit is contained in:
Donal McBreen
2023-08-15 15:10:47 +01:00
committed by GitHub
3 changed files with 24 additions and 6 deletions

View File

@@ -1,7 +1,21 @@
require_relative "integration_test"
class TraefikTest < IntegrationTest
test "boot, stop, start, restart, logs, remove" do
test "boot, reboot, stop, start, restart, logs, remove" do
mrsk :traefik, :boot
assert_traefik_running
mrsk :traefik, :reboot
assert_traefik_running
mrsk :traefik, :boot
assert_traefik_running
# Check booting when booted doesn't raise an error
mrsk :traefik, :stop
assert_traefik_not_running
# Check booting when stopped works
mrsk :traefik, :boot
assert_traefik_running