Skip to content

Commit 7da9f8c

Browse files
committed
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 238aeff commit 7da9f8c

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
@@ -1558,7 +1558,7 @@ class _ParentProcess {
15581558
continue
15591559
}
15601560

1561-
switch runOneTest(
1561+
switch await runOneTestAsync(
15621562
fullTestName: fullTestName,
15631563
testSuite: testSuite,
15641564
test: t,

0 commit comments

Comments
 (0)