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

chore(NODE-6493): CSOT clean ups and sync runCursorCommand test #4309

Merged
merged 14 commits into from
Nov 4, 2024

Conversation

nbbeeken
Copy link
Contributor

@nbbeeken nbbeeken commented Nov 1, 2024

Description

What is changing?

Is there new documentation needed for these changes?

What is the motivation for this change?

Remaining cleanups for CSOT branch

Release Highlight

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@nbbeeken
Copy link
Contributor Author

nbbeeken commented Nov 1, 2024

const cursor = new FindCursor(
new MongoClient('mongodb://localhost:27027'),
MongoDBNamespace.fromString('foo.bar'),
{},
{}
);

it('parseTimeoutOptions()', function () {
it('resolveExplainTimeoutOptions(no arguments)', function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

as long as we're improving this, can we update all these to actually be meaningful? e.g. does not set timeout or explain when no arguments are provided, sets only timeout when only timeoutMS is provided

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated!

@nbbeeken
Copy link
Contributor Author

nbbeeken commented Nov 4, 2024

I was able to unskip some of the tests that were marked with the closed cursor ticket, the two that are still skipped are related to the runCursorCommand tests that we got a driver ticket for this morning: #4312 - they fail unfortunately because it appears we are retrying the getMores on runCursorCommand which we are not supposed to. That is a bug we can look into separately from CSOT, not a blocker.

@nbbeeken nbbeeken requested a review from dariakp November 4, 2024 19:19
@nbbeeken nbbeeken changed the title chore: CSOT clean ups chore(NODE-6493): CSOT clean ups and sync runCursorCommand test Nov 4, 2024
@dariakp dariakp merged commit 060eae7 into NODE-6090 Nov 4, 2024
1 of 2 checks passed
@dariakp dariakp deleted the chore-csot-cleanup branch November 4, 2024 20:44
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.

2 participants