From 2f992f36f9c98dbd93d710e3fa3daf3900cb2986 Mon Sep 17 00:00:00 2001 From: Loic Devulder Date: Mon, 21 Aug 2023 11:22:07 +0200 Subject: [PATCH] ci: fix RKE2 tests During installation the service as beem renamed to elemental-register-install.service. Signed-off-by: Loic Devulder --- tests/e2e/bootstrap_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/bootstrap_test.go b/tests/e2e/bootstrap_test.go index e7c9fc63b..c051c8c41 100644 --- a/tests/e2e/bootstrap_test.go +++ b/tests/e2e/bootstrap_test.go @@ -268,7 +268,7 @@ var _ = Describe("E2E - Bootstrapping node", Label("bootstrap"), func() { // Check that the installation is completed before halting the VM Eventually(func() error { - _, err := cl.RunSSH("journalctl -u elemental-register.service --no-pager | grep -i 'elemental installation completed'") + _, err := cl.RunSSH("journalctl -u elemental-register-install.service --no-pager | grep -iq 'elemental install completed''") return err }, tools.SetTimeout(8*time.Minute), 10*time.Second).Should(Not(HaveOccurred()))