Skip to content

Conversation

@baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Mar 25, 2024

Description

What is changing?

While auditing the existing skipped tests, I found a couple of quick fixes. This PR unskips some tests that not longer fail, removes some unnecessary skip reason assignment, and removes some unnecessary TODO comments.

Is there new documentation needed for these changes?

What is the motivation for this change?

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

@baileympearson baileympearson changed the title signing commit object test: small fixes and unskips Mar 25, 2024
Comment on lines +10 to +22
({ description }) => {
// This is skipped because our command monitoring happens at the connection
// level and is using the server reply for the single insert that the bulk
// performed since it was only one document in the test. The test expectation
// is that we are using the bulk write result which was returned to the user
// as the reply in the command succeeded event instead of our raw reply from
// the server. There's nothing we can change here.
return description.includes(
'A successful unordered bulk write with an unacknowledged write concern'
)
? `Test not applicable to Node.`
: false;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

just added a more applicable skip reason.

Copy link
Contributor

Choose a reason for hiding this comment

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

I do not fully understand why this doesn't apply to us. In a world where we were writing the driver from scratch could it obey this test? if so, could this one day, allegedly, be addressed?

@baileympearson baileympearson marked this pull request as ready for review March 26, 2024 18:23
@baileympearson baileympearson changed the title test: small fixes and unskips test(NODE-5898): small fixes and unskips of test TODOs Mar 26, 2024
@nbbeeken nbbeeken self-assigned this Mar 27, 2024
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Mar 27, 2024
@nbbeeken nbbeeken self-requested a review March 27, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Primary Review In Review with primary reviewer, not yet ready for team's eyes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants