Alexandre Julliard : psapi/tests: Increase some timeouts.

Alexandre Julliard julliard at winehq.org
Wed Oct 30 18:40:11 CDT 2019


Module: wine
Branch: master
Commit: 3f61f905ba3f12e83acfb8b82c1da7f8ac4d5227
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3f61f905ba3f12e83acfb8b82c1da7f8ac4d5227

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Oct 30 22:35:35 2019 +0100

psapi/tests: Increase some timeouts.

These are too short when running under QEMU.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 b02ceed5ec..9799d2ffae 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);




More information about the wine-cvs mailing list