-
Hello, I have tried to run tests in Xcode 14.3 (CI is still on Xcode 14.2), and some tests fail occasionally. On Xcode 14.2, everything is fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @3a4oT, tests that use time-based asynchrony with clocks/schedulers definitely seem to have gotten flakier in Swift 5.8. Reliably writing tests for Swift's concurrency tools continues to be incredibly difficult. We do have some ideas of how to improve the situation, but for now you may need to sprinkle in some |
Beta Was this translation helpful? Give feedback.
Oh great, thanks for giving the serial executor a shot, and great to here it is actually working for you! That is exactly what we plan on baking directly into
TestStore
eventually, so hopefully these tricks won't be necessary for long.