Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling noisy readonly fs test #26

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Tests/SwiftDocCTests/Indexing/NavigatorIndexTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1129,8 +1129,13 @@ Root
XCTAssertEqual(PageType(symbolKind: "intfopfunc"), PageType(symbolKind: "func.op"))
XCTAssertEqual(PageType(symbolKind: "intftdef"), PageType(symbolKind: "associatedtype"))
}

func testNavigatorIndexOnReadOnlyFilesystem() throws {

// rdar://84986427
// Mounting and unmounting the dmg creates noise on the bots when it fails.
// If the test fails before unmounting, the resource is leaked.
// This is currently the only test mounting anything, but with tests running
// in parallel, this could cause collisions.
func skip_testNavigatorIndexOnReadOnlyFilesystem() throws {
#if os(macOS)
// To verify we're able to open a read-only index, we need to mount a small DMG in read-only mode.
let dmgPath = Bundle.module.url(
Expand Down