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

Operator retry test fix attempt #2332

Merged
merged 3 commits into from
Jan 19, 2015

Conversation

akarnokd
Copy link
Member

@akarnokd akarnokd commented Jan 5, 2015

Maybe the error function was not emitting events properly.

@@ -227,9 +227,9 @@ public void awaitTerminalEvent() {
* @throws RuntimeException
* if the Subscriber is interrupted before the Observable is able to complete
*/
public void awaitTerminalEvent(long timeout, TimeUnit unit) {
public boolean awaitTerminalEvent(long timeout, TimeUnit unit) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any suggestion how I can sneak out the await's result?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Throw TimeoutException? It's a bit minor breaking change. @benjchristensen Is it fine?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or add a new method?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed it back and made it throw a RTE with TimeoutException as cause.

akarnokd added a commit that referenced this pull request Jan 19, 2015
@akarnokd akarnokd merged commit 5839720 into ReactiveX:1.x Jan 19, 2015
@akarnokd akarnokd deleted the OperatorRetryTestFixAttempt branch January 19, 2015 06:18
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