-
Notifications
You must be signed in to change notification settings - Fork 104
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
Testing MONGODB-CR auth method #118
Conversation
1 similar comment
@@ -45,7 +45,7 @@ matrix: | |||
|
|||
before_install: | |||
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10" | |||
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list" | |||
- "echo 'deb http://repo.mongodb.org/apt/ubuntu '$(lsb_release -sc)'/mongodb-org/3.0 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list" |
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.
Nicely found!
95% that's really great! |
I'm only worried about that we're no longer testing mongodb >= 3.0, so the noDups test will always be skipped. |
< 3.0 you meant? |
Yeah, sorry. That is what I meant. I thought it could be possible to install both. If not, I could create a PPA package, statically compiled, so that it doesn't interfere with the other installed MongoDB. Would that work, or overkill? |
Actually, I think it is overkill because it's all about testing two pretty obvious lines of code :) |
;) Well, as an option, there is always this: |
test_auth.py
expoits a hack to force MongoDB to use obsolete MONGODB-CR auth mechanism in order to get coverage of both SCRAM-SHA-1 and MONGODB-CR auth methods.Travis environment changed to use MongoDB 3.0