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

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

Merged

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