Commit c2e9ee36 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

ntoskrnl.exe/tests: Retry timer wait to address spurious failures.

parent 858f2bf2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment