Do not call pollForCompletion after flush.

Change-Id: I5bae360ceb38d4c955035b3a51938608c79058ed
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
Mrozek, Michal
2019-03-29 15:56:15 +01:00
committed by sys_ocldev
parent 377aebce06
commit e772321e82
2 changed files with 1 additions and 3 deletions

View File

@@ -367,7 +367,7 @@ HWTEST_F(TbxCommandStreamTests, givenTbxCommandStreamReceiverWhenFlushIsCalledTh
EXPECT_TRUE(mockHardwareContext->initializeCalled);
EXPECT_TRUE(mockHardwareContext->submitCalled);
EXPECT_TRUE(mockHardwareContext->pollForCompletionCalled);
EXPECT_FALSE(mockHardwareContext->pollForCompletionCalled);
EXPECT_TRUE(tbxCsr.writeMemoryWithAubManagerCalled);
pDevice->executionEnvironment->memoryManager->freeGraphicsMemory(commandBuffer);