Skip to content

Commit 4be2e14

Browse files
authored
Temporarily mark testSwiftRunSIGINT as skipped since it fails occasionally (#4274)
I didn't see anything by code inspection, and I couldn't get it to reproduce. The problem seems to be in the test itself and not in the SIGINT functionality. Marking as skipped for now. The `#if true` notation is to avoid getting a warning about unreachable code.
1 parent d640dc2 commit 4be2e14

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Tests/FunctionalTests/MiscellaneousTests.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,10 @@ class MiscellaneousTestCase: XCTestCase {
382382
#endif
383383
}
384384

385-
func testSwiftRunSIGNINT() throws {
385+
func testSwiftRunSIGINT() throws {
386+
#if true
387+
throw XCTSkip("skipping intermittently failing test (rdar://91024625)")
388+
#else
386389
try fixture(name: "Miscellaneous/SwiftRun") { fixturePath in
387390
let mainFilePath = fixturePath.appending(component: "main.swift")
388391
try localFileSystem.removeFileTree(mainFilePath)
@@ -460,6 +463,7 @@ class MiscellaneousTestCase: XCTestCase {
460463
case done
461464
}
462465
}
466+
#endif
463467
}
464468

465469
func testReportingErrorFromGitCommand() throws {

0 commit comments

Comments
 (0)