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

Rake tests fail on MongoDB version 3.6.8 #68

Open
camiloforero opened this issue Oct 18, 2018 · 1 comment
Open

Rake tests fail on MongoDB version 3.6.8 #68

camiloforero opened this issue Oct 18, 2018 · 1 comment
Labels

Comments

@camiloforero
Copy link

When running bundler exec rake I got two errors. Attached is the stdout of that command:
tests.txt (if you cat it, it will look nice with colors just as with rake)

When trying to get to the bottom of it, I found out that after MongoDB version 3.2, a new version of indexes is being used https://docs.mongodb.com/manual/core/2dsphere/ . I have MongoDB version 3.6, so that could be the cause, but apparently your travis tests are passing with a MongoDB version 3.2 so I'm not so sure

One possible fix would be to force the creation of Version 2 indexes. Or to just ignore the version number when doing the check on the tests. Or to check against which version to compare, according to the MongoDB version

@dblock
Copy link
Collaborator

dblock commented Oct 19, 2018

I think the first step is to reproduce this in CI. Make a pull request that swaps the version of MongoDB? I believe you should be able to have a set of tests use 3.2 and another use 3.6 within the same .travis.yml.

@dblock dblock added the bug? label Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants