mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Add allocateGraphicsMemoryInDevicePool
- do not always expect failures in tests with failure injections there is retry mechanism for some cases Change-Id: If7589d2dacc41216d2f3b08f861209bbab179615
This commit is contained in:
committed by
sys_ocldev
parent
1afc09bc05
commit
f125c8ff45
@@ -573,9 +573,6 @@ TEST_P(ValidHostPtr, failedAllocationInjection) {
|
||||
if (nonfailingAllocation == failureIndex) {
|
||||
EXPECT_EQ(CL_SUCCESS, retVal);
|
||||
EXPECT_NE(nullptr, buffer);
|
||||
} else {
|
||||
EXPECT_EQ(CL_OUT_OF_HOST_MEMORY, retVal) << "for allocation " << failureIndex;
|
||||
EXPECT_EQ(nullptr, buffer);
|
||||
}
|
||||
};
|
||||
injectFailures(method);
|
||||
|
||||
Reference in New Issue
Block a user