You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run a subtask of the runner task group for each individual test even when running serially. (#578)
Right now, when tests are run serially, they're simply run in a
for-loop. This has the side effect of potentially building up a lot of
autorelease pool cruft (on platforms with such a concept) if those tests
never introduce any suspension points.
As well, this produces a subtle difference in task cancellation
propagation because calling `UnsafeCurrentTask.cancel()` in a serialized
test will cancel the entire task group, not just the test's own subtask.
Resolves rdar://130034310.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments