From 9401c0c6cab8a938f19b07ffb3af62cf027fb319 Mon Sep 17 00:00:00 2001 From: Jemale Lockett Date: Thu, 13 Feb 2025 09:10:47 -0800 Subject: [PATCH] [Debug] Adjust sleep time Signed-off-by: Jemale Lockett --- conformance_tests/tools/debug/src/test_debug.cpp | 6 +++--- conformance_tests/tools/debug/src/test_debug_utils.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conformance_tests/tools/debug/src/test_debug.cpp b/conformance_tests/tools/debug/src/test_debug.cpp index 47335878c..38f21e3ea 100644 --- a/conformance_tests/tools/debug/src/test_debug.cpp +++ b/conformance_tests/tools/debug/src/test_debug.cpp @@ -1101,7 +1101,7 @@ void zetDebugEventReadTest::run_read_events_in_separate_thread_test( module_load_cv.wait(lk, [] { return module_loaded; }); lk.unlock(); LOG_INFO << "[Debugger] Main thread sleeping to wait for device threads"; - std::this_thread::sleep_for(std::chrono::seconds(60)); + std::this_thread::sleep_for(std::chrono::seconds(6)); LOG_INFO << "[Debugger] Sending interrupt from main thread"; lzt::debug_interrupt(debugSession, device_thread); @@ -1277,7 +1277,7 @@ void zetDebugReadWriteRegistersTest::run_read_write_registers_test( LOG_INFO << "[Debugger] Stopping all device threads"; // give time to app to launch the kernel - std::this_thread::sleep_for(std::chrono::seconds(60)); + std::this_thread::sleep_for(std::chrono::seconds(6)); lzt::debug_interrupt(debugSession, device_threads); @@ -1426,7 +1426,7 @@ void zetDebugThreadControlTest::SetUpThreadControl(ze_device_handle_t &device, LOG_INFO << "[Debugger] Interrupting all threads"; // give time to app to launch the kernel - std::this_thread::sleep_for(std::chrono::seconds(60)); + std::this_thread::sleep_for(std::chrono::seconds(6)); lzt::debug_interrupt(debugSession, thread); stopped_threads = {}; diff --git a/conformance_tests/tools/debug/src/test_debug_utils.cpp b/conformance_tests/tools/debug/src/test_debug_utils.cpp index 7a8f0a453..c2aff24c4 100644 --- a/conformance_tests/tools/debug/src/test_debug_utils.cpp +++ b/conformance_tests/tools/debug/src/test_debug_utils.cpp @@ -760,7 +760,7 @@ void zetDebugMemAccessTest::run_read_write_module_and_memory_test( LOG_INFO << "[Debugger] Interrupting all threads"; // give time to app to launch the kernel - std::this_thread::sleep_for(std::chrono::seconds(60)); + std::this_thread::sleep_for(std::chrono::seconds(6)); lzt::debug_interrupt(debugSession, thread); std::vector stopped_threads;