Jacek Caban : kernel32/tests: Use shorter timeout for wait that we expect to time out.
Alexandre Julliard
julliard at winehq.org
Thu May 11 15:07:29 CDT 2017
Module: wine
Branch: master
Commit: 0be75640f512892eb241905f883f1f17a9094c53
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0be75640f512892eb241905f883f1f17a9094c53
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu May 11 13:49:01 2017 +0200
kernel32/tests: Use shorter timeout for wait that we expect to time out.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c
index 0546e96..77450e3 100644
--- a/dlls/kernel32/tests/pipe.c
+++ b/dlls/kernel32/tests/pipe.c
@@ -213,7 +213,7 @@ static void test_CreateNamedPipe(int pipemode)
hFile = CreateFileA(PIPENAME, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, 0);
ok(hFile != INVALID_HANDLE_VALUE, "CreateFile failed (%d)\n", GetLastError());
- ok(!WaitNamedPipeA(PIPENAME, 1000), "WaitNamedPipe succeeded\n");
+ ok(!WaitNamedPipeA(PIPENAME, 100), "WaitNamedPipe succeeded\n");
ok(GetLastError() == ERROR_SEM_TIMEOUT, "wrong error %u\n", GetLastError());
More information about the wine-cvs
mailing list