mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user