ntdll/tests: Adjust timing on RtlWaitOnAddress tests.

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Daniel Lehman 2019-09-06 22:07:38 -07:00 committed by Alexandre Julliard
parent e07efbd919
commit 3462b4d1f2
1 changed files with 2 additions and 2 deletions

View File

@ -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);