Skip to content

Commit e2602ba

Browse files
authored
Skip tests related to ParallelTestsPkgTests (#2948)
We are seeing CI failures of the form: ```/private/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/Miscellaneous_ParallelTestsPkg.s9qJNJ/Miscellaneous_ParallelTestsPkg/Tests/ParallelTestsPkgTests/ParallelTestsFailureTests.swift:1:8: error: compiled module was created by an older version of the compiler; rebuild 'XCTest' and try again: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-macos.swiftmodule``` Let's skip these tests while we are investigating.
1 parent 5608dc9 commit e2602ba

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Tests/FunctionalTests/MiscellaneousTests.swift

+12
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ class MiscellaneousTestCase: XCTestCase {
213213
}
214214

215215
func testSwiftTestParallel() throws {
216+
// <rdar://problem/69448176> Fix and re-enable test related to "ParallelTestsPkg"
217+
try XCTSkip()
218+
216219
fixture(name: "Miscellaneous/ParallelTestsPkg") { prefix in
217220
// First try normal serial testing.
218221
do {
@@ -258,6 +261,9 @@ class MiscellaneousTestCase: XCTestCase {
258261
}
259262

260263
func testSwiftTestFilter() throws {
264+
// <rdar://problem/69448176> Fix and re-enable test related to "ParallelTestsPkg"
265+
try XCTSkip()
266+
261267
fixture(name: "Miscellaneous/ParallelTestsPkg") { prefix in
262268
let (stdout, _) = try SwiftPMProduct.SwiftTest.execute(["--filter", ".*1", "-l", "--enable-test-discovery"], packagePath: prefix)
263269
XCTAssertMatch(stdout, .contains("testExample1"))
@@ -274,6 +280,9 @@ class MiscellaneousTestCase: XCTestCase {
274280
}
275281

276282
func testSwiftTestSkip() throws {
283+
// <rdar://problem/69448176> Fix and re-enable test related to "ParallelTestsPkg"
284+
try XCTSkip()
285+
277286
fixture(name: "Miscellaneous/ParallelTestsPkg") { prefix in
278287
let (stdout, _) = try SwiftPMProduct.SwiftTest.execute(["--skip", "ParallelTestsTests", "-l", "--enable-test-discovery"], packagePath: prefix)
279288
XCTAssertNoMatch(stdout, .contains("testExample1"))
@@ -414,6 +423,9 @@ class MiscellaneousTestCase: XCTestCase {
414423
}
415424

416425
func testSwiftTestLinuxMainGeneration() throws {
426+
// <rdar://problem/69448176> Fix and re-enable test related to "ParallelTestsPkg"
427+
try XCTSkip()
428+
417429
#if os(macOS)
418430
fixture(name: "Miscellaneous/ParallelTestsPkg") { prefix in
419431
let fs = localFileSystem

0 commit comments

Comments
 (0)