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

Update unit tests to use mongo 3.2.4+ #245

Open
jewzaam opened this issue Jul 27, 2016 · 2 comments
Open

Update unit tests to use mongo 3.2.4+ #245

jewzaam opened this issue Jul 27, 2016 · 2 comments

Comments

@jewzaam
Copy link
Member

jewzaam commented Jul 27, 2016

We have this deployed in production so would be good to test with it. Should we setup tests to run with multiple versions of mongo or is that overkill?

@dcrissman
Copy link
Member

if I understand you correctly, you are talking about the version of the mongo server used for testing? If so, then that could be changed in the lightblue-mongo [1] project. That said, 3.2.4 is not an option even in the newest version of the 3rd party mongo library that we use. It is currently possible to change the mongo version using an annotation [2] on the test suite.

[1] https://github.com/lightblue-platform/lightblue-mongo/blob/master/test/src/main/java/com/redhat/lightblue/mongo/test/MongoServerExternalResource.java#L75
[2] https://github.com/lightblue-platform/lightblue-mongo/blob/master/test/src/main/java/com/redhat/lightblue/mongo/test/MongoServerExternalResource.java#L81

@dcrissman
Copy link
Member

Related to lightblue-platform/lightblue-mongo#293

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

No branches or pull requests

2 participants