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

test(NODE-5705): fix failing explain tests #3894

Merged
merged 1 commit into from
Oct 17, 2023
Merged

test(NODE-5705): fix failing explain tests #3894

merged 1 commit into from
Oct 17, 2023

Conversation

durran
Copy link
Member

@durran durran commented Oct 17, 2023

Description

Fixes explain tests to be able to handle SBE and non SBE explain results. (5.x backport)

What is changing?

Looks for specific strings the JSON stringified version of the explain results. Not that SBE results do not contain an "allPlansExecution" or "executionStats" fields so those assertions were removed.

Is there new documentation needed for these changes?

None

What is the motivation for this change?

NODE-5705

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

@durran durran mentioned this pull request Oct 17, 2023
5 tasks
@baileympearson baileympearson self-assigned this Oct 17, 2023
@baileympearson baileympearson added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 17, 2023
@baileympearson baileympearson merged commit df0780e into 5.x Oct 17, 2023
1 of 3 checks passed
@baileympearson baileympearson deleted the NODE-5705 branch October 17, 2023 14:18
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