Commit 3f61f905 authored by Alexandre Julliard's avatar Alexandre Julliard

psapi/tests: Increase some timeouts.

These are too short when running under QEMU. Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent bb22b55e
...@@ -125,7 +125,7 @@ static void test_EnumProcessModules(void) ...@@ -125,7 +125,7 @@ static void test_EnumProcessModules(void)
ret = CreateProcessA(NULL, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); ret = CreateProcessA(NULL, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
ok(ret, "CreateProcess failed: %u\n", GetLastError()); ok(ret, "CreateProcess failed: %u\n", GetLastError());
ret = WaitForInputIdle(pi.hProcess, 1000); ret = WaitForInputIdle(pi.hProcess, 5000);
ok(!ret, "wait timed out\n"); ok(!ret, "wait timed out\n");
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
...@@ -146,7 +146,7 @@ static void test_EnumProcessModules(void) ...@@ -146,7 +146,7 @@ static void test_EnumProcessModules(void)
ret = CreateProcessA(NULL, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); ret = CreateProcessA(NULL, buffer, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
ok(ret, "CreateProcess failed: %u\n", GetLastError()); ok(ret, "CreateProcess failed: %u\n", GetLastError());
ret = WaitForInputIdle(pi.hProcess, 1000); ret = WaitForInputIdle(pi.hProcess, 5000);
ok(!ret, "wait timed out\n"); ok(!ret, "wait timed out\n");
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
...@@ -180,7 +180,7 @@ todo_wine ...@@ -180,7 +180,7 @@ todo_wine
pWow64RevertWow64FsRedirection(cookie); pWow64RevertWow64FsRedirection(cookie);
ok(ret, "CreateProcess failed: %u\n", GetLastError()); ok(ret, "CreateProcess failed: %u\n", GetLastError());
ret = WaitForInputIdle(pi.hProcess, 1000); ret = WaitForInputIdle(pi.hProcess, 5000);
ok(!ret, "wait timed out\n"); ok(!ret, "wait timed out\n");
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment