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

Fix index tests to pass on server latest #628

Merged
merged 2 commits into from
Apr 8, 2021
Merged

Conversation

kmahar
Copy link
Contributor

@kmahar kmahar commented Apr 7, 2021

testIndexOptions has started failing testing against server latest, because it turns out we were sending an option (index weights) that are only relevant for text indexes, even though the index we create is not a text index.

These used to just be ignored until SERVER-54712. Relatedly, I noticed that the same thing should probably be true for some other text index-specific options, which I filed SERVER-55863 about.

I've solved this by just moving these options out into a new test that actually creates a text index.

@kmahar kmahar merged commit dfa2ca9 into main Apr 8, 2021
@kmahar kmahar deleted the fix-index-tests-latest branch April 8, 2021 15:51
kmahar added a commit that referenced this pull request Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants