ntdll/tests: Improve the RtlWaitOnAddress() timeout checks.
commite72c71d27d67462480026edc2b756a66578db7bd
authorFrancois Gouget <fgouget@codeweavers.com>
Mon, 5 Jul 2021 16:10:39 +0000 (5 18:10 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 5 Jul 2021 17:55:37 +0000 (5 19:55 +0200)
tree13edfee20e5af572c137c3f07a85760b3c1449f2
parent4e9118047171f4ca608612c8cd428f3bb40df715
ntdll/tests: Improve the RtlWaitOnAddress() timeout checks.

GetTickCount()'s granularity represents 15% of the time we want to
mesure, making it hard to not get failures. So use NtQuerySystemTime()
instead since we already depend on it.
Narrow down the acceptable range again.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/tests/om.c