From 97e2d701b7390e725fb4d5eaa0a5917c79db73ff Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Thu, 29 May 2025 14:52:20 -0700 Subject: [PATCH] [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. --- scripts/unittest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/unittest.py b/scripts/unittest.py index b7d9569d..e198724a 100644 --- a/scripts/unittest.py +++ b/scripts/unittest.py @@ -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")