Commit cf1bbad7 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

psapi/tests: Increase GetPerformanceInfo error margins for Windows 10.

parent 126e3e28
...@@ -225,7 +225,7 @@ static void test_GetPerformanceInfo(void) ...@@ -225,7 +225,7 @@ static void test_GetPerformanceInfo(void)
ok(check_with_margin(info.CommitPeak, sys_performance_info->PeakCommitment, 32), ok(check_with_margin(info.CommitPeak, sys_performance_info->PeakCommitment, 32),
"expected approximately %ld but got %d\n", info.CommitPeak, sys_performance_info->PeakCommitment); "expected approximately %ld but got %d\n", info.CommitPeak, sys_performance_info->PeakCommitment);
ok(check_with_margin(info.PhysicalAvailable, sys_performance_info->AvailablePages, 128), ok(check_with_margin(info.PhysicalAvailable, sys_performance_info->AvailablePages, 512),
"expected approximately %ld but got %d\n", info.PhysicalAvailable, sys_performance_info->AvailablePages); "expected approximately %ld but got %d\n", info.PhysicalAvailable, sys_performance_info->AvailablePages);
/* TODO: info.SystemCache not checked yet - to which field(s) does this value correspond to? */ /* TODO: info.SystemCache not checked yet - to which field(s) does this value correspond to? */
...@@ -237,7 +237,7 @@ static void test_GetPerformanceInfo(void) ...@@ -237,7 +237,7 @@ static void test_GetPerformanceInfo(void)
ok(check_with_margin(info.KernelPaged, sys_performance_info->PagedPoolUsage, 64), ok(check_with_margin(info.KernelPaged, sys_performance_info->PagedPoolUsage, 64),
"expected approximately %ld but got %d\n", info.KernelPaged, sys_performance_info->PagedPoolUsage); "expected approximately %ld but got %d\n", info.KernelPaged, sys_performance_info->PagedPoolUsage);
ok(check_with_margin(info.KernelNonpaged, sys_performance_info->NonPagedPoolUsage, 8), ok(check_with_margin(info.KernelNonpaged, sys_performance_info->NonPagedPoolUsage, 16),
"expected approximately %ld but got %d\n", info.KernelNonpaged, sys_performance_info->NonPagedPoolUsage); "expected approximately %ld but got %d\n", info.KernelNonpaged, sys_performance_info->NonPagedPoolUsage);
/* compare with values from SYSTEM_BASIC_INFORMATION */ /* compare with values from SYSTEM_BASIC_INFORMATION */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment