-
Notifications
You must be signed in to change notification settings - Fork 178
RUST-523 Support change streams in unified spec tests #564
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
RUST-523 Support change streams in unified spec tests #564
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good! I like the added detail to the matching. Only have a few minor questions/suggestions
src/test/spec/json/change-streams/legacy/change-streams-errors.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! nice to see some upgrades to the matcher
@@ -44,14 +45,21 @@ pub struct ClientEntity { | |||
observe_sensitive_commands: bool, | |||
} | |||
|
|||
impl ClientEntity { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this method is necessary -- ClientEntity
implements Deref
with a target type of Client
so you should be able to call watch
directly on a ClientEntity
(where this method is used).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed that, thank you! Removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM mod Isabel's comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! looks like there's something going on with evergreen but i don't think we need another full CI run here
RUST-523
This pulls in the unified spec test for change streams and adds support to the Rust unified runner for creating and iterating change streams. I also added more detailed mismatch reporting to the runner as part of debugging initial failures.