Skip to content

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

Merged
rnorth merged 1 commit intotestcontainers:masterfrom
kunickiaj:logorder
Sep 11, 2016
Merged

DockerClientProviderStrategy.getDescription() should be called after …#218
rnorth merged 1 commit intotestcontainers:masterfrom
kunickiaj:logorder

Conversation

@kunickiaj
Copy link
Copy Markdown

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
Copy Markdown
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.

2 participants