refactor: reduce TBX download timeout for unit tests

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2024-09-09 15:31:32 +00:00
committed by Compute-Runtime-Automation
parent eec841b662
commit dd8460beba
3 changed files with 9 additions and 2 deletions

View File

@@ -111,6 +111,11 @@ struct MockTbxCsrRegisterDownloadedAllocations : TbxCommandStreamReceiverHw<GfxF
obtainUniqueOwnershipCalled++;
return TbxCommandStreamReceiverHw<GfxFamily>::obtainUniqueOwnership();
}
uint64_t getNonBlockingDownloadTimeoutMs() const override {
return 1;
}
std::set<GraphicsAllocation *> downloadedAllocations;
bool flushBatchedSubmissionsCalled = false;
bool flushTagCalled = false;