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

next() and hasNext() for change streams, add replica set tests #11604

Merged
merged 7 commits into from
Apr 5, 2022
Merged

Conversation

vkarpov15
Copy link
Collaborator

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory.

If you're making a change to documentation, do not modify a .html file directly. Instead find the corresponding .pug file or test case in the test/docs directory.

Summary

In #11275 we learned that you can iterate change streams using await changeStream.next() using the MongoDB node driver, but our current change stream wrapper doesn't support that.

Also, I added a separate GitHub workflow for running tests against a replica set using mongodb-memory-server so the change stream tests run in CI.

Fix #11527

Examples

@vkarpov15 vkarpov15 self-assigned this Mar 31, 2022
@vkarpov15 vkarpov15 merged commit 7401a26 into 6.3 Apr 5, 2022
@vkarpov15 vkarpov15 deleted the gh-11527 branch April 5, 2022 13:32
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.

1 participant