[KMTESTS:KE]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 31 Aug 2014 10:27:35 +0000 (10:27 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 31 Aug 2014 10:27:35 +0000 (10:27 +0000)
- Increase timeout in KeGuardedMutex test to avoid flakiness

svn path=/trunk/; revision=64002

rostests/kmtests/ntos_ke/KeGuardedMutex.c

index 317ca11..e0d4e10 100644 (file)
@@ -240,7 +240,7 @@ TestGuardedMutexConcurrent(
     THREAD_DATA ThreadDataTry;
     PKTHREAD Thread = KeGetCurrentThread();
     LARGE_INTEGER Timeout;
     THREAD_DATA ThreadDataTry;
     PKTHREAD Thread = KeGetCurrentThread();
     LARGE_INTEGER Timeout;
-    Timeout.QuadPart = -10 * 1000 * 10; /* 10 ms */
+    Timeout.QuadPart = -50 * 1000 * 10; /* 50 ms */
 
     InitThreadData(&ThreadData, Mutex, KeAcquireGuardedMutex, NULL, KeReleaseGuardedMutex);
     InitThreadData(&ThreadData2, Mutex, KeAcquireGuardedMutex, NULL, KeReleaseGuardedMutex);
 
     InitThreadData(&ThreadData, Mutex, KeAcquireGuardedMutex, NULL, KeReleaseGuardedMutex);
     InitThreadData(&ThreadData2, Mutex, KeAcquireGuardedMutex, NULL, KeReleaseGuardedMutex);