Skip to content

Commit a45fb32

Browse files
disable failing test running on Windows nightly-main
1 parent 7cd3364 commit a45fb32

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

test/integration-tests/testexplorer/TestExplorerIntegration.test.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,24 @@ tag("large").suite("Test Explorer Suite", function () {
150150
}
151151
});
152152

153-
test("Debugs specified XCTest test", runXCTest);
153+
test("Debugs specified XCTest test", async function () {
154+
// This test is failing consistently on Windows nightly-main (6.3-dev).
155+
// Skip it until a fix is made.
156+
//
157+
// GitHub Issue: https://github.com/swiftlang/vscode-swift/issues/1986
158+
if (
159+
workspaceContext.globalToolchain.swiftVersion.dev &&
160+
workspaceContext.globalToolchain.swiftVersion.isGreaterThanOrEqual({
161+
major: 6,
162+
minor: 3,
163+
patch: 0,
164+
})
165+
) {
166+
this.skip();
167+
}
168+
await runXCTest.call(this);
169+
});
170+
154171
test("Debugs specified swift-testing test", async function () {
155172
await runSwiftTesting.call(this);
156173
});

0 commit comments

Comments
 (0)