mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00: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:
parent
5d4f13f625
commit
acfea670fe
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ TestFastMutexConcurrent(
|
||||||
THREAD_DATA ThreadDataUnsafe;
|
THREAD_DATA ThreadDataUnsafe;
|
||||||
THREAD_DATA ThreadDataTry;
|
THREAD_DATA ThreadDataTry;
|
||||||
LARGE_INTEGER Timeout;
|
LARGE_INTEGER Timeout;
|
||||||
Timeout.QuadPart = -10 * 1000 * 10; /* 10 ms */
|
Timeout.QuadPart = -50 * MILLISECOND;
|
||||||
|
|
||||||
InitThreadData(&ThreadData, Mutex, ExAcquireFastMutex, NULL, ExReleaseFastMutex);
|
InitThreadData(&ThreadData, Mutex, ExAcquireFastMutex, NULL, ExReleaseFastMutex);
|
||||||
InitThreadData(&ThreadData2, Mutex, ExAcquireFastMutex, NULL, ExReleaseFastMutex);
|
InitThreadData(&ThreadData2, Mutex, ExAcquireFastMutex, NULL, ExReleaseFastMutex);
|
||||||
|
|
Loading…
Reference in a new issue