Daniel Lehman : ntdll/tests: Adjust timing on RtlWaitOnAddress tests.
Alexandre Julliard
julliard at winehq.org
Mon Sep 9 16:13:37 CDT 2019
Module: wine
Branch: master
Commit: 3462b4d1f2f9e11cc154e91400fc2eb41e32b2b9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3462b4d1f2f9e11cc154e91400fc2eb41e32b2b9
Author: Daniel Lehman <dlehman25 at gmail.com>
Date: Fri Sep 6 22:07:38 2019 -0700
ntdll/tests: Adjust timing on RtlWaitOnAddress tests.
Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/tests/om.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/om.c b/dlls/ntdll/tests/om.c
index 931628b..c17b6ff 100644
--- a/dlls/ntdll/tests/om.c
+++ b/dlls/ntdll/tests/om.c
@@ -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);
More information about the wine-cvs
mailing list