Skip to content

Commit d38aa59

Browse files
authored
Merge pull request swiftlang#80029 from bnbarham/disable-cancellation-test
[Test] Disable flakey cursor info cancellation
2 parents 5be82d1 + aca35a0 commit d38aa59

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

unittests/SourceKit/SwiftLang/CursorInfoTest.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,7 @@ TEST_F(CursorInfoTest, CursorInfoMustWaitDueToken) {
335335
EXPECT_EQ(strlen("fog"), Info.Length);
336336
}
337337

338-
TEST_F(CursorInfoTest, DISABLED_CursorInfoMustWaitDueTokenRace) {
339-
// Disabled due to a race condition (rdar://88652757)
338+
TEST_F(CursorInfoTest, CursorInfoMustWaitDueTokenRace) {
340339
const char *DocName = "test.swift";
341340
const char *Contents = "let value = foo\n"
342341
"let foo = 0\n";
@@ -414,7 +413,9 @@ TEST_F(CursorInfoTest, CursorInfoCancelsPreviousRequest) {
414413
llvm::report_fatal_error("Did not receive a response for the first request");
415414
}
416415

417-
TEST_F(CursorInfoTest, CursorInfoCancellation) {
416+
TEST_F(CursorInfoTest, DISABLED_CursorInfoCancellation) {
417+
// Disabled due to a race condition (rdar://88652757)
418+
418419
// TODO: This test case relies on the following snippet being slow to type
419420
// check so that the first cursor info request takes longer to execute than it
420421
// takes time to schedule the second request. If that is fixed, we need to

0 commit comments

Comments
 (0)