From 367d4be8636939e78899c2d6cc63380eb3c0f78f Mon Sep 17 00:00:00 2001 From: Loic Devulder Date: Mon, 21 Oct 2024 17:09:29 +0200 Subject: [PATCH] ci/cli: fix active_mode check in upgrade test Signed-off-by: Loic Devulder --- tests/e2e/upgrade_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/upgrade_test.go b/tests/e2e/upgrade_test.go index 7a8576438..ebc6668c8 100644 --- a/tests/e2e/upgrade_test.go +++ b/tests/e2e/upgrade_test.go @@ -378,14 +378,14 @@ var _ = Describe("E2E - Upgrading node", Label("upgrade-node"), func() { _ = RunSSHWithRetry(cl, "setsid -f reboot") // Check the mode after reboot - out = RunSSHWithRetry(cl, "cat /run/cos/recovery_mode") + out = RunSSHWithRetry(cl, "cat /run/elemental/recovery_mode") Expect(out).To(Not(BeEmpty())) // Final reboot, in active mode as recovery mode is not persistent _ = RunSSHWithRetry(cl, "setsid -f reboot") // Check the mode after fnal reboot - out = RunSSHWithRetry(cl, "cat /run/cos/active_mode") + out = RunSSHWithRetry(cl, "cat /run/elemental/active_mode") Expect(out).To(Not(BeEmpty())) }) }