@@ -39,7 +39,7 @@ public abstract class AbstractDockerClientTest extends Assert {
3939 protected TestDockerCmdExecFactory dockerCmdExecFactory = new TestDockerCmdExecFactory (DockerClientBuilder .getDefaultDockerCmdExecFactory ());
4040
4141 public void beforeTest () {
42-
42+
4343 LOG .info ("======================= BEFORETEST =======================" );
4444 LOG .info ("Connecting to Docker server" );
4545 dockerClient = DockerClientBuilder .getInstance (config ())
@@ -60,7 +60,7 @@ private DockerClientConfig config() {
6060
6161 protected DockerClientConfig config (String password ) {
6262 DockerClientConfig .DockerClientConfigBuilder builder = DockerClientConfig .createDefaultConfigBuilder ()
63- .withServerAddress ("https://index.docker.io/v1/" ). withMaxTotalConnections ( 5 ). withMaxPerRouteConnections ( 5 ) ;
63+ .withServerAddress ("https://index.docker.io/v1/" );
6464 if (password !=null ) {
6565 builder = builder .withPassword (password );
6666 }
@@ -104,7 +104,7 @@ public void afterMethod(ITestResult result) {
104104 "################################## END OF {} ##################################\n " ,
105105 result .getName ());
106106 }
107-
107+
108108 protected String asString (InputStream response ) {
109109 return consumeAsString (response );
110110 }
@@ -123,7 +123,7 @@ public static String consumeAsString(InputStream response) {
123123 LOG .info ("line: " +line );
124124 }
125125 response .close ();
126-
126+
127127 return logwriter .toString ();
128128 } catch (IOException e ) {
129129 throw new RuntimeException (e );
@@ -175,11 +175,11 @@ public static boolean available(int port) {
175175 * Asserts that {@link InspectContainerResponse#getVolumes()} (<code>.Volumes</code>)
176176 * has {@link VolumeBind}s for the given {@link Volume}s
177177 */
178- public static void assertContainerHasVolumes (InspectContainerResponse inspectContainerResponse ,
178+ public static void assertContainerHasVolumes (InspectContainerResponse inspectContainerResponse ,
179179 Volume ... expectedVolumes ) {
180180 VolumeBind [] volumeBinds = inspectContainerResponse .getVolumes ();
181181 LOG .info ("Inspect .Volumes = [{}]" , Joiner .on (", " ).join (volumeBinds ));
182-
182+
183183 List <Volume > volumes = new ArrayList <Volume >();
184184 for (VolumeBind bind : volumeBinds ) {
185185 volumes .add (new Volume (bind .getContainerPath ()));
0 commit comments