Skip to content

1.x: unified onErrorX and onExceptionResumeNext and fixed backpressure#3689

Merged
akarnokd merged 1 commit intoReactiveX:1.xfrom
akarnokd:OnErrorDoXFix1x
Feb 9, 2016
Merged

1.x: unified onErrorX and onExceptionResumeNext and fixed backpressure#3689
akarnokd merged 1 commit intoReactiveX:1.xfrom
akarnokd:OnErrorDoXFix1x

Conversation

@akarnokd
Copy link
Member

@akarnokd akarnokd commented Feb 9, 2016

The operators didn't honor backpressure when they switched over to the other Observable.

This PR also includes the fix #3685.

@akarnokd
Copy link
Member Author

akarnokd commented Feb 9, 2016

There was a test failure in BackpressureTests.testMergeAsync, run before any of the changes of this PR and shouldn't have any effect. Overloaded servers?

ts.assertNoErrors();
ts.assertNotCompleted();

ts.requestMore(2);
Copy link
Member

Choose a reason for hiding this comment

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

Not a big deal, but it should be requestMore(1) if you want to have the same behavior (than the other tests).

Copy link
Member Author

Choose a reason for hiding this comment

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

It's deliberately overrequesting here.

@stevegury
Copy link
Member

👍

akarnokd added a commit that referenced this pull request Feb 9, 2016
1.x: unified onErrorX and onExceptionResumeNext and fixed backpressure
@akarnokd akarnokd merged commit 0a8b7bc into ReactiveX:1.x Feb 9, 2016
@akarnokd akarnokd deleted the OnErrorDoXFix1x branch February 9, 2016 20:21
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.

2 participants