Skip to content

Commit 2ac13cb

Browse files
compnerdkateinoigakukun
authored andcommitted
StdlibUnittest: repair in-process concurrency test execution
The support for running concurrency tests individually with filters invoked the non-concurrent supporting `runOneTest` accidentally. Fix this to us the `runOneTestAsync` allowing the single async test to be run in process again. This is needed for ease of debugging (and in the case of Windows, the only option for debugging).
1 parent b9211a1 commit 2ac13cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/private/StdlibUnittest/StdlibUnittest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ class _ParentProcess {
15771577
continue
15781578
}
15791579

1580-
switch runOneTest(
1580+
switch await runOneTestAsync(
15811581
fullTestName: fullTestName,
15821582
testSuite: testSuite,
15831583
test: t,

0 commit comments

Comments
 (0)