ntoskrnl.exe/tests: Retry timer wait to address spurious failures.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
858f2bf268
commit
c2e9ee36d3
|
@ -756,6 +756,8 @@ static void test_sync(void)
|
|||
ok(ret == 0, "got %#x\n", ret);
|
||||
|
||||
ret = wait_single(&timer, 0);
|
||||
/* aliasing makes it sometimes succeeds, try again in that case */
|
||||
if (ret == 0) ret = wait_single(&timer, 0);
|
||||
ok(ret == WAIT_TIMEOUT, "got %#x\n", ret);
|
||||
|
||||
ret = wait_single(&timer, -40 * 10000);
|
||||
|
|
Loading…
Reference in New Issue