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

System property active_env is not working for opening connections during tests #1030

Closed
ipolevoy opened this issue Jun 10, 2020 · 0 comments
Closed

Comments

@ipolevoy
Copy link
Member

For example:

mvn  clean  test -Dactive_env=jenkins

is still defaulting and loading a development environment database connection properties from database.properties

Log output during the build:

[WARNING] Environment variable 'ACTIVE_ENV' not found, defaulting to 'development'
@ipolevoy ipolevoy self-assigned this Jun 10, 2020
ipolevoy added a commit that referenced this issue Jun 11, 2020
ipolevoy added a commit that referenced this issue Jun 11, 2020
ipolevoy added a commit that referenced this issue Jun 11, 2020
ipolevoy added a commit that referenced this issue Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant