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-5704): fix explain tests #3893

Merged
merged 2 commits into from
Oct 17, 2023
Merged

test(NODE-5704): fix explain tests #3893

merged 2 commits into from
Oct 17, 2023

Conversation

durran
Copy link
Member

@durran durran commented Oct 16, 2023

Description

Fixes explain tests to be able to handle SBE and non SBE explain results.

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-5617

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 marked this pull request as ready for review October 16, 2023 14:51
@baileympearson baileympearson self-assigned this Oct 16, 2023
@baileympearson baileympearson added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 16, 2023
@baileympearson
Copy link
Contributor

Do we have a backport ticket for this? 5.x is failing as well.

@durran durran changed the title test(NODE-5617): fix explain tests test(NODE-5704): fix explain tests Oct 17, 2023
@durran
Copy link
Member Author

durran commented Oct 17, 2023

Do we have a backport ticket for this? 5.x is failing as well.

I created subtasks for each now and opened #3894

@durran durran requested a review from baileympearson October 17, 2023 12:42
@baileympearson baileympearson merged commit 4ff8080 into main Oct 17, 2023
@baileympearson baileympearson deleted the NODE-5617 branch October 17, 2023 14:15
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