[ci][github] Increase test timeout to 5s
It was found that QEMU process is often under D(Disk Sleep) state after test fails due to timeout. This suggests that I/O is sometimes extremely slow on github CI server. Hence increase test timeout to 5s for reliability.
This commit is contained in:
committed by
Travis Geiselbrecht
parent
a7addca7bc
commit
97e2d701b7
@@ -79,7 +79,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, 1)
|
||||
p.stdout, lambda l: "starting app shell" in l, 5)
|
||||
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