From: Frantisek Sumsal Date: Tue, 9 Apr 2024 19:16:41 +0000 (+0200) Subject: test: wait until the test container is fully booted up X-Git-Tag: v256-rc1~243^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=515eb678a057099ee7e462ec83f71b199a368f8a;p=thirdparty%2Fsystemd.git test: wait until the test container is fully booted up TEST-69 still occasionally times out in CI and appears to be stuck on boot, so let's see if this helps the situation a bit. --- diff --git a/test/test-shutdown.py b/test/test-shutdown.py index b83487c5d4d..870c1e269f5 100755 --- a/test/test-shutdown.py +++ b/test/test-shutdown.py @@ -43,6 +43,10 @@ def run(args): console.send('c') console.expect('screen1 ', 10) + logger.info('wait for the machine to fully boot') + console.sendline('systemctl is-system-running --wait') + console.expect(r'\b(running|degraded)\b', 60) + # console.interact() console.sendline('tty')