Skip to content

test(NODE-5370): add e2e testing for the search index management API #3736

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

Merged
merged 11 commits into from
Aug 4, 2023

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Jun 21, 2023

Description

What is changing?

This PR adds e2e testing for the new search index management helpers.

Is there new documentation needed for these changes?

No.

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

@baileympearson baileympearson force-pushed the DRIVERS-2630-search-indexes-testing branch from 5c4c0ee to dd78b8d Compare June 29, 2023 22:53
@baileympearson baileympearson changed the title list search index tests working on atlas [skip-ci] list search index tests working on atlas Jul 5, 2023
@baileympearson
Copy link
Contributor Author

evergreen retry

@baileympearson baileympearson force-pushed the DRIVERS-2630-search-indexes-testing branch from 8734149 to 8e65be8 Compare July 12, 2023 18:59
@baileympearson baileympearson changed the title list search index tests working on atlas test(NODE-xxxx): add e2e testing for the search index management API Jul 12, 2023
@baileympearson baileympearson force-pushed the DRIVERS-2630-search-indexes-testing branch 2 times, most recently from 267ec5d to 6053e83 Compare July 17, 2023 15:55
@baileympearson baileympearson changed the title test(NODE-xxxx): add e2e testing for the search index management API test(NODE-5370): add e2e testing for the search index management API Jul 17, 2023
@@ -28,7 +29,9 @@ export class DropSearchIndexOperation extends AbstractCallbackOperation<void> {
}

server.command(namespace, command, { session }, err => {
if (err) {
const isNamespaceNotFoundError =
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is clarified in the spec based on discussion in dbx-devs. I think this is okay to pull in because it's non-breaking, even though it's a behavior change for users.

Copy link
Contributor

Choose a reason for hiding this comment

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

#3780
conflict from the async/await refactor here.

Should we make this change in v5 as well?

Copy link
Contributor Author

@baileympearson baileympearson Aug 1, 2023

Choose a reason for hiding this comment

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

This was a spec improvement, I think we're okay not backporting it (especially since I don't think we'll backport the e2e tests)

GromNaN added a commit to GromNaN/mongo-php-library that referenced this pull request Jul 24, 2023
@baileympearson baileympearson force-pushed the DRIVERS-2630-search-indexes-testing branch from 008fb47 to e130803 Compare July 31, 2023 17:48
@baileympearson baileympearson marked this pull request as ready for review August 1, 2023 17:57
@durran durran self-assigned this Aug 3, 2023
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Aug 3, 2023
Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

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

Looks good, couldn't really find anything to comment on here unless I wanted to be real nit-picky. :)

@durran durran added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Aug 3, 2023
@durran durran merged commit ee540dd into main Aug 4, 2023
@durran durran deleted the DRIVERS-2630-search-indexes-testing branch August 4, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants