Skip to content

Failing unit test for reduce, showing it does not implement backpressure correctly#1527

Merged
benjchristensen merged 2 commits intoReactiveX:masterfrom
mattrjacobs:reduce-fails-on-backpressure
Jul 29, 2014
Merged

Failing unit test for reduce, showing it does not implement backpressure correctly#1527
benjchristensen merged 2 commits intoReactiveX:masterfrom
mattrjacobs:reduce-fails-on-backpressure

Conversation

@mattrjacobs
Copy link
Contributor

No description provided.

@davidmoten
Copy link
Collaborator

reduce = scan.takeLast and takeLast backpressure bug #1522 is being worked on in PR #1523 at the moment so they will probably appreciate this extra unit test.

@cloudbees-pull-request-builder

RxJava-pull-requests #1447 FAILURE
Looks like there's a problem with this pull request

@mattrjacobs
Copy link
Contributor Author

Just added another unit test. Interestingly, source.reduce(sum) fails, and source.reduce(0, sum) succeeds.

@cloudbees-pull-request-builder

RxJava-pull-requests #1448 FAILURE
Looks like there's a problem with this pull request

@benjchristensen
Copy link
Member

Thanks for finding and fixing this. I complete missed single in my pass through operators.

@benjchristensen
Copy link
Member

@mattrjacobs Can you touch this PR again to kick off builds and validate whether it is now fixed with #1529 merged?

@mattrjacobs
Copy link
Contributor Author

After takeLast implementaion was fixed, this unit test passes

benjchristensen added a commit that referenced this pull request Jul 29, 2014
Failing unit test for reduce, showing it does not implement backpressure correctly
@benjchristensen benjchristensen merged commit d403f69 into ReactiveX:master Jul 29, 2014
@mattrjacobs mattrjacobs deleted the reduce-fails-on-backpressure branch January 8, 2015 06:13
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.

4 participants