Skip to content

Commit a5b5166

Browse files
Skip flaky performance test on Windows (#940)
Let's skip `testWhitespaceLinterPerformance` on Windows until someone with more linter performance insights can craft a real fix for #939.
1 parent 7f3e6b6 commit a5b5166

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Tests/SwiftFormatPerformanceTests/WhitespaceLinterPerformanceTests.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import XCTest
55
@_spi(Testing) import _SwiftFormatTestSupport
66

77
final class WhitespaceLinterPerformanceTests: DiagnosingTestCase {
8-
func testWhitespaceLinterPerformance() {
8+
func testWhitespaceLinterPerformance() throws {
9+
#if os(Windows)
10+
// https://github.com/swiftlang/swift-format/issues/939
11+
throw XCTSkip("This test is flaky on Windows")
12+
#endif
913
let input = String(
1014
repeating: """
1115
import SomeModule

0 commit comments

Comments
 (0)