[ci][github] Fix CI stability
* Sometimes apt-get install qemu fails with fetch error, run apt-get update first to mitigate * unittest.py often fails due to app shell not started in 0.5s, increase timeout
This commit is contained in:
committed by
Kelvin Zhang
parent
15e3cca123
commit
91a65fd20d
@@ -66,7 +66,7 @@ def main():
|
||||
try:
|
||||
os.set_blocking(p.stdout.fileno(), False)
|
||||
condition_met, output = wait_for_output(
|
||||
p.stdout, lambda l: "starting app shell" in l, 0.5)
|
||||
p.stdout, lambda l: "starting app shell" in l, 1)
|
||||
assert condition_met, "Did not see 'starting app shell', stdout: {}".format(
|
||||
"".join(output))
|
||||
p.stdin.write("uefi_load virtio0\n")
|
||||
|
||||
Reference in New Issue
Block a user