Skip to content

Commit 4e4db3d

Browse files
authored
Mark build server tests as flaky while debugging build description loading issue (#9483)
I've seen these tests fail to load a build description in CI twice. Expand the issue criteria while I debug the root cause.
1 parent 33f29da commit 4e4db3d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/SwiftPMBuildServerTests/BuildServerTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final fileprivate class NotificationCollectingMessageHandler: MessageHandler {
2626
}
2727

2828
fileprivate func withSwiftPMBSP(fixtureName: String, body: (Connection, NotificationCollectingMessageHandler, AbsolutePath) async throws -> Void) async throws {
29-
try await withKnownIssue(isIntermittent: true) {
29+
await withKnownIssue("Tests occasionally fail to load build description in CI", isIntermittent: true) {
3030
try await fixture(name: fixtureName) { fixture in
3131
let inPipe = Pipe()
3232
let outPipe = Pipe()
@@ -63,8 +63,6 @@ fileprivate func withSwiftPMBSP(fixtureName: String, body: (Connection, Notifica
6363
connection.close()
6464
try await terminationPromise
6565
}
66-
} when: {
67-
ProcessInfo.isHostAmazonLinux2()
6866
}
6967
}
7068

0 commit comments

Comments
 (0)