diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-04-09 21:16:41 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2024-04-09 21:39:46 +0200 |
commit | 515eb678a057099ee7e462ec83f71b199a368f8a (patch) | |
tree | 85f37160cce5246f3f8daebae2b598ffa3c2627c /test/test-shutdown.py | |
parent | test: disable background color for nspawn containers (diff) | |
download | systemd-515eb678a057099ee7e462ec83f71b199a368f8a.tar.xz systemd-515eb678a057099ee7e462ec83f71b199a368f8a.zip |
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.
Diffstat (limited to 'test/test-shutdown.py')
-rwxr-xr-x | test/test-shutdown.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-shutdown.py b/test/test-shutdown.py index b83487c5d4..870c1e269f 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') |