André Hentschel : kernel32: Double the alarm timeout to prevent a failed test.
Alexandre Julliard
julliard at winehq.org
Fri May 7 09:41:15 CDT 2010
Module: wine
Branch: master
Commit: 56d28f7d5baeacb4f865df3629a1ad820cd47b94
URL: http://source.winehq.org/git/wine.git/?a=commit;h=56d28f7d5baeacb4f865df3629a1ad820cd47b94
Author: André Hentschel <nerv at dawncrow.de>
Date: Fri Apr 30 18:38:59 2010 +0200
kernel32: Double the alarm timeout to prevent a failed test.
---
dlls/kernel32/tests/pipe.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c
index 948c704..b48ceec 100644
--- a/dlls/kernel32/tests/pipe.c
+++ b/dlls/kernel32/tests/pipe.c
@@ -794,9 +794,9 @@ static void test_NamedPipe_2(void)
DWORD alarmThreadId;
trace("test_NamedPipe_2 starting\n");
- /* Set up a ten second timeout */
+ /* Set up a twenty second timeout */
alarm_event = CreateEvent( NULL, TRUE, FALSE, NULL );
- alarmThread = CreateThread(NULL, 0, alarmThreadMain, (void *) 10000, 0, &alarmThreadId);
+ alarmThread = CreateThread(NULL, 0, alarmThreadMain, (void *) 20000, 0, &alarmThreadId);
/* The servers we're about to exercize do try to clean up carefully,
* but to reduce the change of a test failure due to a pipe handle
More information about the wine-cvs
mailing list