From 0f13600ba304035bb1ecc429d5385ca8b7678630 Mon Sep 17 00:00:00 2001 From: Igor Alexandrov Date: Thu, 21 Mar 2024 09:25:07 +0400 Subject: [PATCH] Fixed Traefik integration test --- test/integration/traefik_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/traefik_test.rb b/test/integration/traefik_test.rb index 3b5735ab..dcbdbfcb 100644 --- a/test/integration/traefik_test.rb +++ b/test/integration/traefik_test.rb @@ -7,13 +7,13 @@ class TraefikTest < IntegrationTest kamal :traefik, :boot assert_traefik_running - output = kamal :traefik, :reboot, capture: true + output = kamal :traefik, :reboot, "-y", capture: true assert_traefik_running assert_hooks_ran "pre-traefik-reboot", "post-traefik-reboot" assert_match /Rebooting 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_hooks_ran "pre-traefik-reboot", "post-traefik-reboot" assert_match /Rebooting Traefik on vm1.../, output