-
Notifications
You must be signed in to change notification settings - Fork 246
Specify that CSOT prose test 11 only runs on standalone servers #1672
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
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.
The equivalent prose test for insertMany
has the following language:
This test MUST only run against standalones on server versions 4.4 and higher. The insertMany call takes an exceedingly long time on replicasets and sharded clusters. Drivers MAY adjust the timeouts used in this test to allow for differing bulk encoding performance.
Does running this test only on standalones eliminate the flakiness? If so, I suggest adding this language to the bulk write test rather than adding a test-only internal option.
d0bef83
to
ec937ff
Compare
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 with suggestion
|
||
This test MUST only run against server versions 8.0+. This test must be skipped on Atlas Serverless. | ||
|
||
This test MUST only run against standalones on server versions 4.4 and higher. The insertMany call takes an exceedingly |
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.
This test MUST only run against standalones on server versions 4.4 and higher. The insertMany call takes an exceedingly | |
This test MUST only run against standalones. The `bulkWrite` call takes an exceedingly |
server version requirement is already listed above
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 with suggestion applied.
This PR restricts CSOT prose test 11 to only run on standalone servers.
Tests passing in Node's implementation: https://spruce.mongodb.com/version/67056335720d470007b68379/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&taskName=8.0
Node's implementation includes the changes in this PR.