From acfea670fedbac5eef312c1cbff4726af8c482a6 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 8 Sep 2019 08:01:23 +0200 Subject: [PATCH] [KMTESTS:EX] Try to avoid some spurious test failures. E.g. https://reactos.org/testman/detail.php?id=43906459&prev=43889679 This test depends on the timeout to be long enough for another thread to actually have started waiting, which may take longer than 10ms under load. --- modules/rostests/kmtests/ntos_ex/ExFastMutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rostests/kmtests/ntos_ex/ExFastMutex.c b/modules/rostests/kmtests/ntos_ex/ExFastMutex.c index ffd3034ba8b..04de7a9a16f 100644 --- a/modules/rostests/kmtests/ntos_ex/ExFastMutex.c +++ b/modules/rostests/kmtests/ntos_ex/ExFastMutex.c @@ -253,7 +253,7 @@ TestFastMutexConcurrent( THREAD_DATA ThreadDataUnsafe; THREAD_DATA ThreadDataTry; LARGE_INTEGER Timeout; - Timeout.QuadPart = -10 * 1000 * 10; /* 10 ms */ + Timeout.QuadPart = -50 * MILLISECOND; InitThreadData(&ThreadData, Mutex, ExAcquireFastMutex, NULL, ExReleaseFastMutex); InitThreadData(&ThreadData2, Mutex, ExAcquireFastMutex, NULL, ExReleaseFastMutex); -- 2.17.1