Skip to content

Commit 8c94888

Browse files
committed
Double the timeout in EditTest
These tests are occassionaly timing out in CI. I have been unable to reproduce this even with TSan and varying the pauses between operations. On the other hand, I can get this test to run slowly if the machine is heavily loaded, so double the timeout to see if it resolves the CI issues. rdar://44842835
1 parent 3849017 commit 8c94888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/SourceKit/SwiftLang/EditingTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class EditTest : public ::testing::Test {
137137
}
138138

139139
bool waitForDocUpdate(bool reset = false) {
140-
std::chrono::seconds secondsToWait(10);
140+
std::chrono::seconds secondsToWait(20);
141141
std::unique_lock<std::mutex> lk(DocUpdState->Mtx);
142142
auto when = std::chrono::system_clock::now() + secondsToWait;
143143
auto result = !DocUpdState->CV.wait_until(

0 commit comments

Comments
 (0)