test: Minor change - unify test logic in memory manager test

Related-To: NEO-15665
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
This commit is contained in:
Aleksandra Nizio
2025-07-25 13:21:19 +00:00
committed by Compute-Runtime-Automation
parent be483491bf
commit b83fbdd9e8

View File

@@ -1172,7 +1172,7 @@ TEST(MemoryManagerTest, givenMemoryManagerWhenAllocationIsCommandBufferAndMultiC
memoryManager.mockGa = &mockGa;
memoryManager.returnMockGAFromDevicePool = true;
AllocationProperties properties(mockRootDeviceIndex, MemoryConstants::pageSize, AllocationType::buffer, mockDeviceBitfield);
AllocationProperties properties(mockRootDeviceIndex, MemoryConstants::pageSize, AllocationType::commandBuffer, mockDeviceBitfield);
properties.flags.cantBeReadOnly = false;
properties.flags.multiOsContextCapable = true;