Polling expectations (toEventually & the like) do not work well with Swift Testing's concurrent test runner. · Issue #1188 · Quick/Nimble · GitHub
More Web Proxy on the site http://driver.im/
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
Polling expectations were written under the assumption that there would only ever be 1 test running at a time. While this is true under XCTest, it's no longer the case when running under Swift Testing.
For now, you can work around this by making sure that all Swift Testing tests which use polling expectations are tagged to run on the main actor. This will ensure that they run single-threaded.
The text was updated successfully, but these errors were encountered:
Polling expectations were written under the assumption that there would only ever be 1 test running at a time. While this is true under XCTest, it's no longer the case when running under Swift Testing.
For now, you can work around this by making sure that all Swift Testing tests which use polling expectations are tagged to run on the main actor. This will ensure that they run single-threaded.
The text was updated successfully, but these errors were encountered: