Skip to content

Commit c4e2084

Browse files
committed
Don't enforce api version for tests.
1 parent 0d2562e commit c4e2084

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/java/com/github/dockerjava/client/AbstractDockerClientTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import java.util.ArrayList;
1111
import java.util.List;
1212

13-
import com.github.dockerjava.core.RemoteApiVersion;
1413
import org.apache.commons.io.IOUtils;
1514
import org.apache.commons.io.LineIterator;
1615
import org.apache.commons.lang.StringUtils;
@@ -40,8 +39,6 @@ public abstract class AbstractDockerClientTest extends Assert {
4039

4140
public static final Logger LOG = LoggerFactory.getLogger(AbstractDockerClientTest.class);
4241

43-
private RemoteApiVersion apiVersion = RemoteApiVersion.VERSION_1_22;
44-
4542
protected DockerClient dockerClient;
4643

4744
protected TestDockerCmdExecFactory dockerCmdExecFactory = initTestDockerCmdExecFactory();
@@ -82,7 +79,7 @@ protected DockerClientConfig config(String password) {
8279
builder = builder.withRegistryPassword(password);
8380
}
8481

85-
return builder.withApiVersion(apiVersion).build();
82+
return builder.build();
8683
}
8784

8885
public void afterTest() {

0 commit comments

Comments
 (0)