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

Usage of AsyncBlock causing frequent (Unexpected SuiteDidStart) errors #77

Closed
wessmith opened this issue May 19, 2014 · 4 comments
Closed

Comments

@wessmith
Copy link

I have been unable to use AsyncBlock reliably. When writing tests and running a single spec, it seems to work fine. However, when I run the whole test suite, I frequently get an error like:

Test Case '-[MyClass MyClass_testing_some_async_task]' started.
        = All tests
MyClass_testing_some_async_task encountered an error (Unexpected SuiteDidStart)

These errors either fail the build as soon as it hits the async spec, or it continues to run.. forever.. running the entire suite over and over and over endlessly until I stop it.

It's worth noting that we have about half of our test suite written in plain old XCTest. I'm not sure if that has anything to do with it or not.

@orta
Copy link
Member

orta commented Feb 10, 2015

@tangphillip presuming this is based on the Meetup codebase, does this problem still exist?

@tangphillip
Copy link

I think we rewrote the test that was failing with another form of asynchrony. So...I can't reproduce this problem any more.

@orta
Copy link
Member

orta commented Feb 10, 2015

We have a lot of things like this in the Artsy testing codebases. Going to close for now. If people are seeing this, please chime in.

@orta orta closed this as completed Feb 10, 2015
@mickeyreiss
Copy link
Contributor

We've been seeing some instability with waitUntil in Braintree-iOS (they are also do not interoperate nicely with KIF). To workaround, I've been migrating slowly towards XCTestExpectations for async tests.

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

4 participants