Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
obrhoff opened this issue Nov 1, 2023 · 1 comment

Comments

@obrhoff
Copy link

obrhoff commented Nov 1, 2023

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.
@obrhoff
Copy link
Author

obrhoff commented Nov 2, 2023

After digging more into this topic, I suspect that this is related to the issue: https://discuss.circleci.com/t/severe-performance-problems-with-xcode-15/49205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant