@@ -935,11 +935,6 @@ HWTEST_F(CommandQueueHwTest, givenWalkerSplitEnqueueNDRangeWhenNoBlockedThenKern
935935    cl_int status = pCmdQ->enqueueKernel (mockKernel, 1 , &offset, &gws, &lws, 0 , nullptr , nullptr );
936936    EXPECT_EQ (CL_SUCCESS, status);
937937    EXPECT_EQ (1u , mockKernel->makeResidentCalls );
938- 
939-     std::map<GraphicsAllocation *, uint32_t >::iterator it = csr.makeResidentAllocations .begin ();
940-     for  (; it != csr.makeResidentAllocations .end (); it++) {
941-         EXPECT_EQ (1u , it->second );
942-     }
943938}
944939
945940HWTEST_F (CommandQueueHwTest, givenWalkerSplitEnqueueNDRangeWhenBlockedThenKernelGetResidencyCalledOnce) {
@@ -963,17 +958,13 @@ HWTEST_F(CommandQueueHwTest, givenWalkerSplitEnqueueNDRangeWhenBlockedThenKernel
963958    EXPECT_EQ (1u , mockKernel->getResidencyCalls );
964959
965960    userEvent.setStatus (CL_COMPLETE);
966- 
967-     std::map<GraphicsAllocation *, uint32_t >::iterator it = csr.makeResidentAllocations .begin ();
968-     for  (; it != csr.makeResidentAllocations .end (); it++) {
969-         EXPECT_EQ (1u , it->second );
970-     }
971961}
972962
973963HWTEST_F (CommandQueueHwTest, givenKernelSplitEnqueueReadBufferWhenBlockedThenEnqueueSurfacesMakeResidentIsCalledOnce) {
974964    UserEvent userEvent (context);
975965    auto  &csr = pDevice->getUltCommandStreamReceiver <FamilyType>();
976966    csr.storeMakeResidentAllocations  = true ;
967+     csr.timestampPacketWriteEnabled  = false ;
977968
978969    BufferDefaults::context = context;
979970    std::unique_ptr<Buffer> buffer (BufferHelper<>::create ());
0 commit comments