Alex Henrie : psapi/tests: Increase GetPerformanceInfo HandleCount error margin.
Alexandre Julliard
julliard at winehq.org
Wed Dec 19 16:04:43 CST 2018
Module: wine
Branch: master
Commit: 7d268f7de4c2a991e990c397486ed1379bd00d50
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7d268f7de4c2a991e990c397486ed1379bd00d50
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Tue Dec 18 20:42:38 2018 -0700
psapi/tests: Increase GetPerformanceInfo HandleCount error margin.
This fixes intermittent test failures on all versions of Windows.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/psapi/tests/psapi_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/psapi/tests/psapi_main.c b/dlls/psapi/tests/psapi_main.c
index e61cf02..d565053 100644
--- a/dlls/psapi/tests/psapi_main.c
+++ b/dlls/psapi/tests/psapi_main.c
@@ -322,7 +322,7 @@ static void test_GetPerformanceInfo(void)
}
HeapFree(GetProcessHeap(), 0, sys_process_info);
- ok(check_with_margin(info.HandleCount, handle_count, 24),
+ ok(check_with_margin(info.HandleCount, handle_count, 256),
"expected approximately %d but got %d\n", info.HandleCount, handle_count);
ok(check_with_margin(info.ProcessCount, process_count, 4),
More information about the wine-cvs
mailing list