Thanks to visit codestin.com
Credit goes to github.com

Skip to content

toEventually in Xcode 15 somtimes results in "main run loop was unresponsive" #1095

@obrhoff

Description

@obrhoff

What did you do?

We upgraded our Azure DevOps Pipeline from Xcode 14 to 15.

What did you expect to happen?

Tests that use toEventually() should succeed like before.

What actually happened instead?

Some Tests are now randomly failing with main run loop was unresponsive when they use toEventually()

The tests are really simple.

func testConsentOnAppear() {
	// when
	sut.handle(.appear)

	// then
	expect(self.userConsentProvider.calls)
		.toEventually(
			equal([.presentInitialConsent]
			)
		)
}

Environment

List the software versions you're using:

  • Nimble: 13.0.0
  • Xcode Version: 15.0.1 (15A507)
  • Swift Version: 5.9

Please also mention which package manager you used and its version. Delete the
other package managers in this list:

  • Swift Package Manager *5.8.

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