Skip to content

Tests: Add support for crud tests bypassDocumentationValidation.json #1687

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
May 1, 2025

Conversation

rozza
Copy link
Member

@rozza rozza commented Apr 28, 2025

@rozza rozza requested review from a team and katcharov and removed request for a team April 28, 2025 08:51
Copy link
Collaborator

@katcharov katcharov left a comment

Choose a reason for hiding this comment

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

Looking good, just a question.

Comment on lines 171 to 172
def.skipNoncompliant("Find with batchSize equal to limit - batchSize is set to limit if limit is smaller")
.test("crud", "find", "Find with batchSize equal to limit");
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure I understand the rationale - in the test, the limit is not smaller, but is equal to the batchSize. What is the actual expected behaviour in the spec, is it to set batchSize to 1 over the limit, or something else? And why is the driver not doing that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated - I'm not sure why that was there, must have been an unneeded artifact left over when developing the initial submodule code.

@rozza rozza requested a review from katcharov April 29, 2025 10:09
Copy link
Collaborator

@katcharov katcharov left a comment

Choose a reason for hiding this comment

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

LGTM!

@rozza rozza merged commit 390cd0c into mongodb:main May 1, 2025
17 of 54 checks passed
@rozza rozza deleted the JAVA-5827 branch May 1, 2025 08:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants