[PATCH] psapi/tests: Increase GetPerformanceInfo HandleCount error margin
Alex Henrie
alexhenrie24 at gmail.com
Tue Dec 18 21:42:38 CST 2018
This fixes intermittent test failures on all versions of Windows.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
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 e61cf02948..d565053722 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),
--
2.20.1
More information about the wine-devel
mailing list