Skip to content

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Oct 8, 2024

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.

Copy link
Contributor

@isabelatkinson isabelatkinson left a 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.

Copy link
Contributor

@isabelatkinson isabelatkinson left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Contributor

@kevinAlbs kevinAlbs left a 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.

@baileympearson baileympearson changed the title Clarify drivers may provide maxWriteBatchSize for CSOT prose test 11 Specify that CSOT prose test 11 only runs on standalone servers Oct 10, 2024
@baileympearson baileympearson merged commit c70785d into master Oct 10, 2024
5 checks passed
@baileympearson baileympearson deleted the baileympearson-patch-1 branch October 10, 2024 17:31
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