-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unexpected consumption of env.yml.tmp during mvn package tests #75
Comments
Hello, I believe these tests (and the build as a whole) are only really configured for our continuous integration environment. That's the only way the project is ever built in our usual process. Point taken though, if people are going to be building this in other places we need to make it clear that the tests connect to the DB and adjust the config files so that's even possible. We might somehow put those database-backed tests into an optional profile. |
@landonreed do we have any necessary tests that need to connect to either database? Why does this particular test use one configuration file that does not exist (server.yml) and another configuration file that doesn't seem to provide enough information to connect to Mongo? How does it work within the CI environment? |
Ah, I see we've got a line in the Travis config that does |
When running
mvn package
,env.yml.tmp
andserver.yml.tmp
are consumed instead of those without.tpl
extension. This is undocumented and unexpted. Tests fail if no mongodb is running on localhost and on the other hand, if a mongodb is running at localhost it is accessed duringmvn package
, which might be unwanted or unexpected.The official deployment manual says:
and later
However, it fails to mention that hard coded test.
The text was updated successfully, but these errors were encountered: