-
Notifications
You must be signed in to change notification settings - Fork 245
DRIVERS-3261 Remove IndexNotFound error checks for dropIndex #1827
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
DRIVERS-3261 Remove IndexNotFound error checks for dropIndex #1827
Conversation
@sanych-sun Note that the Go Driver skips all tests in deprecated-options.yml, since this functionality was removed in Go Driver V2. |
c5720eb
to
6868742
Compare
750a6bc
to
37626b0
Compare
I think this will need to add server versioning as well. Otherwise it error on the old MongoDBs but pass on latest. |
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.
LGTM + verified the problem is gone on the latest variant.
@ShaneHarvey, @sanych-sun Suggest we remove the following templates since we need to extend the dropIndex operations to include createIndex and generate-basic-tests.py was designed to be single-operation oriented:
For example, the following would be required to support the difference between creating an index for
Additionally, |
Can we merge this and deal with the above as follow-on work so that we can unblock drivers whose CI is broken? |
@jyemin This will cause the Unified Tests / Check if all JSON test files are up-to-date (pull_request) check to fail for all subsequent PRs, which will block merging. Alternatively, we could do one of the following:
|
OK, I see. What do you recommend, assuming we want to merge something by EOD? |
@jyemin I think the second option is best. It's a very small code change and gives us time to re-assess if we've actually outgrown the template pattern for these cases. |
662afd3
to
5cebe3c
Compare
74b29ad
to
662afd3
Compare
662afd3
to
e8d8abb
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.
LGTM
….yml Co-authored-by: Bailey Pearson <[email protected]>
…#1827) Co-authored-by: Bailey Pearson <[email protected]>
DRIVERS-3261
This update removes error that would result from
IndexNotFound
. It also removed empty spaces from the yaml files via yaml language server.Please complete the following before merging:
clusters).