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

DockerClientProviderStrategy.getDescription() should be called after … #218

Merged
merged 1 commit into from
Sep 11, 2016
Merged

Conversation

kunickiaj
Copy link

When using testcontainers 1.1.0+ I get the following

Looking for Docker environment. Trying Environment variables, system properties and defaults. Resolved:

In the refactoring that happened for 1.1.0+ the DockerClientProviderStrategy logs strategy.getDescription() before the config is initialized, which is why for Environment strategy the values are empty. This simply reverses the logging order to after test() has been called and config is populated.

@rnorth
Copy link
Member

rnorth commented Sep 11, 2016

Looks good to me - thanks. Seeing a strange failure on Travis but looks unrelated, so will merge anyway.

@rnorth rnorth merged commit f436842 into testcontainers:master Sep 11, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants