Skip to content

Commit ac6024f

Browse files
GagaLPPeterTh
authored andcommitted
Increase sleep duration in the runtime executor starvation test to eliminate false positives
1 parent 4acfa39 commit ac6024f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtime_tests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ namespace detail {
10621062
std::this_thread::sleep_for(std::chrono::milliseconds(100));
10631063
});
10641064
});
1065-
std::this_thread::sleep_for(std::chrono::milliseconds(25)); // we print a warning when starvation time > 10%
1065+
std::this_thread::sleep_for(std::chrono::milliseconds(35)); // we print a warning when starvation time > 20%
10661066
experimental::flush(q);
10671067
}
10681068

0 commit comments

Comments
 (0)