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
Swift & OS version (output of swift --version ; uname -a)
swift-driver version: 1.109.2 Apple Swift version 6.0 (swiftlang-6.0.0.3.300 clang-1600.0.20.10)
Target: arm64-apple-macosx14.0
Darwin Stephens-M2-Pro.lan 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64
The text was updated successfully, but these errors were encountered:
Description
If you are testing code that runs in a
Task
and forget to wait for it to finish, Swift Testing currently crashes.Expected behavior
Ideally, Swift Testing wouldn't crash, and would instead emit a test failure or some other friendlier diagnostic.
Actual behavior
Swift Testing crashes with the message:
Steps to reproduce
swift-testing version/commit hash
Testing Library Version: 75.7 (arm64e-apple-macos13.0) (Xcode 16 beta 1)
Swift & OS version (output of
swift --version ; uname -a
)swift-driver version: 1.109.2 Apple Swift version 6.0 (swiftlang-6.0.0.3.300 clang-1600.0.20.10)
Target: arm64-apple-macosx14.0
Darwin Stephens-M2-Pro.lan 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64
The text was updated successfully, but these errors were encountered: