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:
parent
54e3bf12cd
commit
7d268f7de4
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue