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

Add function to datastore to return the unused indexes at the end of the tests #7

Open
riannucci opened this issue Sep 18, 2015 · 2 comments

Comments

@riannucci
Copy link
Member

Can be useful to assert-is-empty to ensure that you're not indexing things that you don't need. This should include both compound and simple (builtin) indexes (whose cost can be avoided by listing them as noindex).

@riannucci riannucci changed the title Add function to datastore to return the un-used indexes at the end of the tests Add function to datastore to return the unused indexes at the end of the tests Sep 18, 2015
@vadimsht
Copy link
Contributor

It may be more useful to return used compound indexes instead (+ auto register index mode). So that unit tests may suggest what index to add to index.yaml.

@riannucci
Copy link
Member Author

Ah, right you mentioned that before. Forgot that part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants