diff --git a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp index 7cb9aa63e7..a8a86770f7 100644 --- a/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp +++ b/level_zero/core/test/unit_tests/sources/cmdlist/test_in_order_cmdlist_1.cpp @@ -1955,7 +1955,8 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenNonInOrderCmdListWhenPass HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCmdsChainingFromAppendCopyWhenDispatchingKernelThenProgramSemaphoreOnce) { using MI_SEMAPHORE_WAIT = typename FamilyType::MI_SEMAPHORE_WAIT; - + DebugManagerStateRestore restorer; + NEO::debugManager.flags.ForceL3FlushAfterPostSync.set(1); auto immCmdList = createImmCmdList(); bool heaplessEnabled = immCmdList->isHeaplessModeEnabled(); @@ -2007,8 +2008,14 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCmdsChainingFromAppendCop HWCMDTEST_F(IGFX_XE_HP_CORE, InOrderCmdListTests, givenCmdsChainingFromAppendCopyAndFlushRequiredWhenDispatchingKernelThenProgramSemaphoreOnce) { using MI_SEMAPHORE_WAIT = typename FamilyType::MI_SEMAPHORE_WAIT; + + DebugManagerStateRestore restorer; + NEO::debugManager.flags.ForceL3FlushAfterPostSync.set(1); + auto immCmdList = createImmCmdList(); + bool heaplessEnabled = immCmdList->isHeaplessModeEnabled(); + auto eventPool = createEvents(1, false); events[0]->makeCounterBasedImplicitlyDisabled(eventPool->getAllocation()); auto cmdStream = immCmdList->getCmdContainer().getCommandStream();