mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Fix sporadic fail in ULT
Change-Id: I8b8c67d4ea1189f1895c8d606e4afd745933f0e9
This commit is contained in:
committed by
sys_ocldev
parent
cf692afcfe
commit
656fc9beff
@@ -165,6 +165,8 @@ HWTEST_F(KmdNotifyTests, givenNonQuickSleepRequestWhenItsSporadicWaitThenOverrid
|
||||
auto expectedDelay = device->getHardwareInfo().capabilityTable.kmdNotifyProperties.delayQuickKmdSleepMicroseconds;
|
||||
EXPECT_CALL(*csr, waitForCompletionWithTimeout(::testing::_, expectedDelay, ::testing::_)).Times(1).WillOnce(::testing::Return(true));
|
||||
|
||||
auto now = std::chrono::high_resolution_clock::now();
|
||||
csr->lastWaitForCompletionTimestamp = now - std::chrono::hours(24);
|
||||
csr->waitForTaskCountWithKmdNotifyFallback(taskCountToWait, 1, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user