kernelbase/tests: Fix the Sleep() test for non-default timer resolutions.
commite9e8561fa8127a354390cc49442d0b029c693014
authorFrancois Gouget <fgouget@codeweavers.com>
Thu, 29 Jul 2021 15:24:12 +0000 (29 17:24 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Aug 2021 20:57:38 +0000 (2 22:57 +0200)
tree8c405e11d8f1963070b0cf2d6c3aacccb580f812
parent8fed1c68098f521492d2bd28679745733f22238e
kernelbase/tests: Fix the Sleep() test for non-default timer resolutions.

Also defend against timer resolution changes during the test.
Reduce the test duration a bit.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51533
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernelbase/tests/sync.c