Skip to content

Commit c04656d

Browse files
committed
Disable clangd crash recovery tests on Linux/Windows
These are failing sometimes in CI, so disable while we investigate. rdar://75580936
1 parent cbfa1cf commit c04656d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Tests/SourceKitDTests/CrashRecoveryTests.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ fileprivate extension HoverResponse {
4141

4242
final class CrashRecoveryTests: XCTestCase {
4343
func testSourcekitdCrashRecovery() throws {
44-
try XCTSkipUnless(longTestsEnabled && isDarwinHost)
44+
try XCTSkipUnless(isDarwinHost, "Linux and Windows use in-process sourcekitd")
45+
try XCTSkipUnless(longTestsEnabled)
4546

4647
let ws = try! staticSourceKitTibsWorkspace(name: "sourcekitdCrashRecovery")!
4748
let loc = ws.testLoc("loc")
@@ -151,6 +152,7 @@ final class CrashRecoveryTests: XCTestCase {
151152
}
152153

153154
func testClangdCrashRecovery() throws {
155+
try XCTSkipUnless(isDarwinHost, "rdar://75580936 failing on Linux in CI sometimes")
154156
try XCTSkipUnless(longTestsEnabled)
155157

156158
let ws = try! staticSourceKitTibsWorkspace(name: "ClangCrashRecovery")!
@@ -188,6 +190,7 @@ final class CrashRecoveryTests: XCTestCase {
188190
}
189191

190192
func testClangdCrashRecoveryReopensWithCorrectBuildSettings() throws {
193+
try XCTSkipUnless(isDarwinHost, "rdar://75580936 failing on Linux in CI sometimes")
191194
try XCTSkipUnless(longTestsEnabled)
192195

193196
let ws = try! staticSourceKitTibsWorkspace(name: "ClangCrashRecoveryBuildSettings")!
@@ -221,6 +224,7 @@ final class CrashRecoveryTests: XCTestCase {
221224
}
222225

223226
func testPreventClangdCrashLoop() throws {
227+
try XCTSkipUnless(isDarwinHost, "rdar://75580936 failing on Linux in CI sometimes")
224228
try XCTSkipUnless(longTestsEnabled)
225229

226230
let ws = try! staticSourceKitTibsWorkspace(name: "ClangCrashRecovery")!

0 commit comments

Comments
 (0)