From fb32d6fd7d6da1d52f164adb11f543ae5072bab7 Mon Sep 17 00:00:00 2001 From: Gabriel Mitterrutzner Date: Tue, 10 Jun 2025 18:16:58 +0200 Subject: [PATCH] Increase sleep duration in the runtime executor starvation test to eliminate false positives --- test/runtime_tests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtime_tests.cc b/test/runtime_tests.cc index 4d3d99ab..0645718d 100644 --- a/test/runtime_tests.cc +++ b/test/runtime_tests.cc @@ -1062,7 +1062,7 @@ namespace detail { std::this_thread::sleep_for(std::chrono::milliseconds(100)); }); }); - std::this_thread::sleep_for(std::chrono::milliseconds(25)); // we print a warning when starvation time > 10% + std::this_thread::sleep_for(std::chrono::milliseconds(35)); // we print a warning when starvation time > 20% experimental::flush(q); }