kernel32: Double the alarm timeout to prevent a failed test.

This commit is contained in:
André Hentschel 2010-04-30 18:38:59 +02:00 committed by Alexandre Julliard
parent c34c6ac20e
commit 56d28f7d5b
1 changed files with 2 additions and 2 deletions

View File

@ -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