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

afterEach blocks are not aborted after a timeout in waitsFor #650

Closed
wants to merge 1 commit into from

Conversation

nohuhu
Copy link

@nohuhu nohuhu commented Aug 12, 2014

Previously a timeout in waitsFor caused the block queue for a spec to be aborted, and if whatsFor block happened not to be the last one before "ensured" afterEach blocks they were never executed. This is a bug.

With this fix, the queue will continue to run until all blocks are exhausted but only "ensured" blocks are executed when abort condition is met.

@infews
Copy link
Contributor

infews commented Aug 15, 2014

Thanks for this. However, we're no longer supporting 1.3 due to focus on 2.0, which I think does have this functionality.

Are you able to move your project to 2.0?

@nohuhu
Copy link
Author

nohuhu commented Aug 15, 2014

No I don't believe we'll be able to move 20K+ specs to Jasmine 2.0, it's not worth the time. There may be a lot of other projects out there stuck with 1.x, and this bug is pretty severe IMO. Hence the PR.

@infews
Copy link
Contributor

infews commented Aug 15, 2014

I'm fine for having your fork be canonical 1.3 with fixes. Does that work for you?

@nohuhu
Copy link
Author

nohuhu commented Aug 15, 2014

Not sure what you mean by that?

@nohuhu
Copy link
Author

nohuhu commented Aug 26, 2014

@infews Sorry for the delay. So just to make it clear, are you proposing that I would take over 1.3 maintenance in my branch? I'm fine with that overall, just not clear on the mechanics of how that is supposed to work.

@Gerg Gerg closed this Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants