From d31be191ec776610215c4e2f73d6feecb50a9bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Fri, 29 Nov 2024 15:17:55 +0100 Subject: [PATCH] fixup --- test/case/ietf_system/upgrade/test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/case/ietf_system/upgrade/test.py b/test/case/ietf_system/upgrade/test.py index a0971fe5c..367e628cc 100755 --- a/test/case/ietf_system/upgrade/test.py +++ b/test/case/ietf_system/upgrade/test.py @@ -11,7 +11,7 @@ import netifaces import infamy import infamy.file_server as srv -from infamy.util import wait_boot +from infamy.util import wait_boot, until SRVPORT = 8008 @@ -134,5 +134,7 @@ def set_boot_order(self, order): test.fail() with test.step("Verify the boot order is the orignal configured"): - assert(old_bootorder == bootloader.get_boot_order()) + # Wait for sshd to start. + until(lambda: old_bootorder == bootloader.get_boot_order()) + test.succeed()