The test is failed on Win7 bot https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Win%207%20Tests%20x64%20%281%29/45312
[ RUN ] PlatformThreadWinTest.SetBackgroundThreadModeFailsInIdlePriorityProcess
../../base/threading/platform_thread_win_unittest.cc(53): error: Expected equality of these values:
(-15)
Which is: -15
::GetThreadPriority(thread_handle)
Which is: 0
Stack trace:
Backtrace:
testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x00000001403FDB27+87]
Source code
if (win::GetVersion() == win::VERSION_WIN7)
EXPECT_EQ(THREAD_PRIORITY_IDLE, ::GetThreadPriority(thread_handle));
else
EXPECT_EQ(THREAD_PRIORITY_NORMAL, ::GetThreadPriority(thread_handle));
internal::AssertMemoryPriority(thread_handle, MEMORY_PRIORITY_VERY_LOW);
Comment 1 by fdoray@chromium.org
, Nov 12Status: Fixed (was: Assigned)