-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Conversation
5c4c0ee
to
dd78b8d
Compare
evergreen retry |
8734149
to
8e65be8
Compare
267ec5d
to
6053e83
Compare
@@ -28,7 +29,9 @@ export class DropSearchIndexOperation extends AbstractCallbackOperation<void> { | |||
} | |||
|
|||
server.command(namespace, command, { session }, err => { | |||
if (err) { | |||
const isNamespaceNotFoundError = |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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)
008fb47
to
e130803
Compare
There was a problem hiding this 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. :)
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
npm run check:lint
scripttype(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript