Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup committed Feb 21, 2017
1 parent a205ab1 commit ce3d621
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;

public class NamedPipeSocketClientProviderStrategy extends DockerClientProviderStrategy {

Expand Down Expand Up @@ -135,6 +136,13 @@ InetSocketAddress start() throws IOException {
});
InetSocketAddress inetSocketAddress = (InetSocketAddress) listenSocket.getLocalSocketAddress();


try {
TimeUnit.SECONDS.sleep(5);
} catch (InterruptedException e) {
e.printStackTrace();
}

log.info("Pinging...");
log.info("Ping: " + IOUtils.toString(URI.create("http://localhost:" + inetSocketAddress.getPort() + "/v1.25/_ping")));

Expand Down

0 comments on commit ce3d621

Please sign in to comment.