Skip to content

Tests are failing when using materialize on the same thread in more than 15 tests #2695

@mrtsamma

Description

@mrtsamma

Link to project where tests are failing:
github link

Tests started to fail with Xcode 26.3
Maybe Swift 6.2.3 update changes sth?
Observing Single on same thread ConcurrentDispatchQueueScheduler(qos: .default) for all tests.
When using .materialize() in more than 15 tests, then tests are failing. Can run FailureWhenMoreThan15TestsBlockingSameThread tests to see.
Getting Sequence timeout.
When there is 15 or less tests, then no problem. See SucceedWhen15TestsBlockingSameThread test.
And when using async await instead with stream values, it will pass. See SucceedWhenUsingAsyncAwaitForBlockingSameThread test.

Environment:
Xcode Version 26.3 (17C529)
MacOS 15.7.4 (24G517)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions