Skip to content

Commit 53b8771

Browse files
committed
[asan] Temporarily disable EditTest.AnnotationsRangeShiftingAfterEditReplaceEnd
This started failing in one CI job that has asan, but it's unclear whether there is a sanitizer issue or if it's a timing issue, etc. Disabling while we investigate the root cause. rdar://65934938
1 parent 01b5cf7 commit 53b8771

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unittests/SourceKit/SwiftLang/EditingTest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,8 @@ TEST_F(EditTest, AnnotationsRangeShiftingAfterEditInsertEnd) {
550550
ASSERT_FALSE(waitForDocUpdate()) << "timed out";
551551
close(DocName);
552552
}
553+
// rdar://65934938 Failing in CI with ASan
554+
#if defined(__has_feature) && !__has_feature(address_sanitizer)
553555
TEST_F(EditTest, AnnotationsRangeShiftingAfterEditReplaceEnd) {
554556
const char *DocName = "test.swift";
555557
TestConsumer Consumer;
@@ -568,6 +570,7 @@ TEST_F(EditTest, AnnotationsRangeShiftingAfterEditReplaceEnd) {
568570
ASSERT_FALSE(waitForDocUpdate()) << "timed out";
569571
close(DocName);
570572
}
573+
#endif
571574
TEST_F(EditTest, AnnotationsRangeShiftingAfterEditDeleteEnd) {
572575
const char *DocName = "test.swift";
573576
TestConsumer Consumer;

0 commit comments

Comments
 (0)