From c9c6cfc6faaa5951a1d6e7cc4296e12c0eacd288 Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Tue, 18 Jul 2017 08:28:11 -0700 Subject: [PATCH] kernel32/tests: Increase timeout for loader test. I'm seeing this on Linux but randomly happens on testbot: loader.c:2199: Test failed: expected WAIT_OBJECT_0, got 0x102 loader.c:2209: Test failed: expected thread exit code 196, got 259 loader.c:1713: Test failed: expected thread exit code 196, got 195 mostly Win XP: http://test.winehq.org/data/a8b5fdda3214e4fd52682aefaa093cd45766580e/xp_fg-winxp-3spie8/kernel32:loader.html http://test.winehq.org/data/a8b5fdda3214e4fd52682aefaa093cd45766580e/xp_fg-winxp-last/kernel32:loader.html http://test.winehq.org/data/a8b5fdda3214e4fd52682aefaa093cd45766580e/xp_fg-winxp-lusr/kernel32:loader.html http://test.winehq.org/data/a8b5fdda3214e4fd52682aefaa093cd45766580e/xp_fg-winxp-3sp/kernel32:loader.html but also Win 8: http://test.winehq.org/data/a8b5fdda3214e4fd52682aefaa093cd45766580e/win8_cw2-gtx560-t64/kernel32:loader.html Signed-off-by: Daniel Lehman --- dlls/kernel32/tests/loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/tests/loader.c b/dlls/kernel32/tests/loader.c index 2587a97..09c21d8 100644 --- a/dlls/kernel32/tests/loader.c +++ b/dlls/kernel32/tests/loader.c @@ -2195,9 +2195,9 @@ static void child_process(const char *dll_name, DWORD target_offset) } else { - ret = WaitForSingleObject(attached_thread[0], 1000); + ret = WaitForSingleObject(attached_thread[0], 2000); ok(ret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %#x\n", ret); - ret = WaitForSingleObject(attached_thread[1], 1000); + ret = WaitForSingleObject(attached_thread[1], 2000); ok(ret == WAIT_OBJECT_0, "expected WAIT_OBJECT_0, got %#x\n", ret); } -- 1.9.5