From 56d28f7d5baeacb4f865df3629a1ad820cd47b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Fri, 30 Apr 2010 18:38:59 +0200 Subject: [PATCH] kernel32: Double the alarm timeout to prevent a failed test. --- dlls/kernel32/tests/pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c index 948c704e99e..b48ceec6a17 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