From 3f61f905ba3f12e83acfb8b82c1da7f8ac4d5227 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 30 Oct 2019 22:35:35 +0100 Subject: [PATCH] psapi/tests: Increase some timeouts. These are too short when running under QEMU. Signed-off-by: Alexandre Julliard --- dlls/psapi/tests/psapi_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/psapi/tests/psapi_main.c b/dlls/psapi/tests/psapi_main.c index b02ceed5ec2..9799d2ffae3 100644 --- a/dlls/psapi/tests/psapi_main.c +++ b/dlls/psapi/tests/psapi_main.c @@ -125,7 +125,7 @@ static void test_EnumProcessModules(void) ret = CreateProcessA(NULL, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); ok(ret, "CreateProcess failed: %u\n", GetLastError()); - ret = WaitForInputIdle(pi.hProcess, 1000); + ret = WaitForInputIdle(pi.hProcess, 5000); ok(!ret, "wait timed out\n"); SetLastError(0xdeadbeef); @@ -146,7 +146,7 @@ static void test_EnumProcessModules(void) ret = CreateProcessA(NULL, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); ok(ret, "CreateProcess failed: %u\n", GetLastError()); - ret = WaitForInputIdle(pi.hProcess, 1000); + ret = WaitForInputIdle(pi.hProcess, 5000); ok(!ret, "wait timed out\n"); SetLastError(0xdeadbeef); @@ -180,7 +180,7 @@ todo_wine pWow64RevertWow64FsRedirection(cookie); ok(ret, "CreateProcess failed: %u\n", GetLastError()); - ret = WaitForInputIdle(pi.hProcess, 1000); + ret = WaitForInputIdle(pi.hProcess, 5000); ok(!ret, "wait timed out\n"); SetLastError(0xdeadbeef);