mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
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.
This commit is contained in:
parent
8d4bfd38ed
commit
515eb678a0
|
@ -43,6 +43,10 @@ def run(args):
|
||||||
console.send('c')
|
console.send('c')
|
||||||
console.expect('screen1 ', 10)
|
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.interact()
|
||||||
|
|
||||||
console.sendline('tty')
|
console.sendline('tty')
|
||||||
|
|
Loading…
Reference in a new issue