Commit 3462b4d1 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

ntdll/tests: Adjust timing on RtlWaitOnAddress tests.

parent e07efbd9
......@@ -2115,7 +2115,7 @@ static void test_wait_on_address(void)
status = pRtlWaitOnAddress(&address, &compare, 8, &timeout);
ticks = GetTickCount() - ticks;
ok(status == STATUS_TIMEOUT, "got 0x%08x\n", status);
ok(ticks >= 100 && ticks <= 1000, "got %u\n", ticks);
ok(ticks >= 90 && ticks <= 1000, "got %u\n", ticks);
ok(address == 0, "got %s\n", wine_dbgstr_longlong(address));
ok(compare == 0, "got %s\n", wine_dbgstr_longlong(compare));
......@@ -2130,7 +2130,7 @@ static void test_wait_on_address(void)
status = pRtlWaitOnAddress(&address, &compare, size, &timeout);
ticks = GetTickCount() - ticks;
ok(status == STATUS_TIMEOUT, "got 0x%08x\n", status);
ok(ticks >= 100 && ticks <= 1000, "got %u\n", ticks);
ok(ticks >= 90 && ticks <= 1000, "got %u\n", ticks);
status = pRtlWaitOnAddress(&address, &compare, size << 1, &timeout);
ok(!status, "got 0x%08x\n", status);
......
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