Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

disable background indexes for tests #9

Open
andrenarchy opened this issue Jan 13, 2015 · 0 comments
Open

disable background indexes for tests #9

andrenarchy opened this issue Jan 13, 2015 · 0 comments
Labels

Comments

@andrenarchy
Copy link
Member

Maybe the cause for the randomly failing tests on travis is that the mongodb indexes are created in the background. Since the models+indexes are recreated for every single test, it's likely that the lookup by id fails if it's issued directly after insertion.

Possible solution: disable background indexes for the tests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant