8000 Polling expectations (toEventually & the like) do not work well with Swift Testing's concurrent test runner. · Issue #1188 · Quick/Nimble · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Polling expectations (toEventually & the like) do not work well with Swift Testing's concurrent test runner. #1188
Open
@younata

Description

@younata

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0