Fixed Traefik integration test
This commit is contained in:
@@ -7,13 +7,13 @@ class TraefikTest < IntegrationTest
|
|||||||
kamal :traefik, :boot
|
kamal :traefik, :boot
|
||||||
assert_traefik_running
|
assert_traefik_running
|
||||||
|
|
||||||
output = kamal :traefik, :reboot, capture: true
|
output = kamal :traefik, :reboot, "-y", capture: true
|
||||||
assert_traefik_running
|
assert_traefik_running
|
||||||
assert_hooks_ran "pre-traefik-reboot", "post-traefik-reboot"
|
assert_hooks_ran "pre-traefik-reboot", "post-traefik-reboot"
|
||||||
assert_match /Rebooting Traefik on vm1,vm2.../, output
|
assert_match /Rebooting Traefik on vm1,vm2.../, output
|
||||||
assert_match /Rebooted Traefik on vm1,vm2/, output
|
assert_match /Rebooted Traefik on vm1,vm2/, output
|
||||||
|
|
||||||
output = kamal :traefik, :reboot, :"--rolling", capture: true
|
output = kamal :traefik, :reboot, :"--rolling", "-y", capture: true
|
||||||
assert_traefik_running
|
assert_traefik_running
|
||||||
assert_hooks_ran "pre-traefik-reboot", "post-traefik-reboot"
|
assert_hooks_ran "pre-traefik-reboot", "post-traefik-reboot"
|
||||||
assert_match /Rebooting Traefik on vm1.../, output
|
assert_match /Rebooting Traefik on vm1.../, output
|
||||||
|
|||||||
Reference in New Issue
Block a user