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

Prevent ExceptionsTest from hanging when testing stack overflow #2902

Merged
merged 1 commit into from
Apr 21, 2015

Conversation

davidmoten
Copy link
Collaborator

On my i5 laptop ExceptionsTest.testStackOverflowIsThrow hangs. This PR changes the test so that it confirms that significant stack depth occurs and in another test ensures that the fatal StackOverflowError is thrown by subscribe when it occurs in onNext.

I also removed some unused code from the original test and some extra subscriptions that didn't seem to serve a particular function.

@akarnokd
Copy link
Member

Looks good. Thanks!

akarnokd added a commit that referenced this pull request Apr 21, 2015
Prevent ExceptionsTest from hanging when testing stack overflow
@akarnokd akarnokd merged commit d7d94ba into ReactiveX:1.x Apr 21, 2015
@benjchristensen benjchristensen mentioned this pull request Apr 30, 2015
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

Successfully merging this pull request may close these issues.

2 participants