File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/test/java/com/github/dockerjava/client Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public void beforeTest() throws DockerException {
3434
3535 LOG .info ("Pulling image 'busybox'" );
3636 // need to block until image is pulled completely
37- logResponseStream (dockerClient .pullImageCmd ("busybox: latest" ).exec ());
37+ logResponseStream (dockerClient .pullImageCmd ("busybox" ). withTag ( " latest" ).exec ());
3838
3939
4040
Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ public void startContainerWithPortBindings() throws DockerException {
116116 contains (tcp22 , tcp23 ));
117117
118118 assertThat (inspectContainerResponse .getHostConfig ().getPortBindings ().getBindings ().get (tcp22 ),
119- is (equalTo (Ports .Binding ("0.0.0.0" , 11022 ))));
119+ is (equalTo (Ports .Binding (11022 ))));
120120
121121 assertThat (inspectContainerResponse .getHostConfig ().getPortBindings ().getBindings ().get (tcp23 ),
122- is (equalTo (Ports .Binding ("0.0.0.0" , 11023 ))));
122+ is (equalTo (Ports .Binding (11023 ))));
123123
124124 tmpContainers .add (container .getId ());
125125 }
You can’t perform that action at this time.
0 commit comments