psapi/tests: Increase GetPerformanceInfo HandleCount error margin.

This fixes intermittent test failures on all versions of Windows.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-12-18 20:42:38 -07:00 committed by Alexandre Julliard
parent 54e3bf12cd
commit 7d268f7de4
1 changed files with 1 additions and 1 deletions

View File

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