From 6707f8c21d5f04decbea8ff3d3d86b36bba36fb7 Mon Sep 17 00:00:00 2001 From: Chai Bot Date: Tue, 8 Sep 2026 14:21:01 +0000 Subject: [PATCH] test: wait for greenboot health check before stopping MicroShift in tuned tests The tuned test suite stops and disables MicroShift during setup since it only needs the microshift-tuned.service. However, if greenboot healthcheck is still running when MicroShift is stopped, greenboot detects the failure and immediately reboots the host, causing the test to fail with a timing-dependent race condition. Wait for greenboot healthcheck to complete before stopping MicroShift, ensuring a clean transition. --- test/suites/tuned/microshift-tuned.robot | 1 + 1 file changed, 1 insertion(+) diff --git a/test/suites/tuned/microshift-tuned.robot b/test/suites/tuned/microshift-tuned.robot index e0f20b5618..31edaf5074 100644 --- a/test/suites/tuned/microshift-tuned.robot +++ b/test/suites/tuned/microshift-tuned.robot @@ -69,6 +69,7 @@ MicroShift-Tuned Requires Config To Function Setup [Documentation] Setup test for the test suite Login MicroShift Host + Wait Until Greenboot Health Check Exited # We don't need MicroShift service when testing microshift-tuned.service Stop MicroShift Disable MicroShift