Skip to content

Commit fa1ce62

Browse files
committed
Disable LockTests.testReadWriteFileLock
This test may fail spuriously if a reader thread runs before any writers were able to write the initial value to the file. Disable the test until it can be fixed. We saw the same issue with FileSystemTests in the past. rdar://78461378
1 parent dd7b5a3 commit fa1ce62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/TSCBasicTests/LockTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class LockTests: XCTestCase {
6161
}
6262

6363
func testReadWriteFileLock() throws {
64+
try XCTSkipIf(true, "fails spuriously if reader thread beats first writer rdar://78461378")
6465
try withTemporaryDirectory { tempDir in
6566
let fileA = tempDir.appending(component: "fileA")
6667
let fileB = tempDir.appending(component: "fileB")

0 commit comments

Comments
 (0)