Skip to content

Commit 10d1ee7

Browse files
authored
Disabling noisy readonly fs test (#26)
This patch disables the readonly fs indexing test due to the CI noise and potential to leak resources on failures.
1 parent a7a6244 commit 10d1ee7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Tests/SwiftDocCTests/Indexing/NavigatorIndexTests.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,8 +1129,13 @@ Root
11291129
XCTAssertEqual(PageType(symbolKind: "intfopfunc"), PageType(symbolKind: "func.op"))
11301130
XCTAssertEqual(PageType(symbolKind: "intftdef"), PageType(symbolKind: "associatedtype"))
11311131
}
1132-
1133-
func testNavigatorIndexOnReadOnlyFilesystem() throws {
1132+
1133+
// rdar://84986427
1134+
// Mounting and unmounting the dmg creates noise on the bots when it fails.
1135+
// If the test fails before unmounting, the resource is leaked.
1136+
// This is currently the only test mounting anything, but with tests running
1137+
// in parallel, this could cause collisions.
1138+
func skip_testNavigatorIndexOnReadOnlyFilesystem() throws {
11341139
#if os(macOS)
11351140
// To verify we're able to open a read-only index, we need to mount a small DMG in read-only mode.
11361141
let dmgPath = Bundle.module.url(

0 commit comments

Comments
 (0)