This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ca3081  Use the builtin boolean value to check for docker availability
1ca3081 is described below

commit 1ca308110b5ea099db54b3fd8a24b6572a198a70
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Jun 15 08:39:42 2022 +0200

    Use the builtin boolean value to check for docker availability
---
 src/test/java/org/apache/maven/buildcache/its/RemoteCacheDavTest.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/src/test/java/org/apache/maven/buildcache/its/RemoteCacheDavTest.java 
b/src/test/java/org/apache/maven/buildcache/its/RemoteCacheDavTest.java
index 28473ca..fdab71b 100644
--- a/src/test/java/org/apache/maven/buildcache/its/RemoteCacheDavTest.java
+++ b/src/test/java/org/apache/maven/buildcache/its/RemoteCacheDavTest.java
@@ -64,7 +64,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.junit.jupiter.api.Assumptions.assumeTrue;
 
 @IntegrationTest( "src/test/projects/remote-cache-dav" )
-@Testcontainers
+@Testcontainers( disabledWithoutDocker = true )
 @EnabledOnOs( OS.LINUX ) // github actions do not support docker on windows 
and osx
 public class RemoteCacheDavTest
 {
@@ -92,8 +92,6 @@ public class RemoteCacheDavTest
     @BeforeEach
     void setup() throws IOException
     {
-        assumeTrue( DockerClientFactory.instance().isDockerAvailable(), 
"docker is not available" );
-
         basedir = Paths.get( verifier.getBasedir() );
         remoteCache = basedir.resolveSibling( "cache-remote" 
).toAbsolutePath().normalize();
         localCache = basedir.resolveSibling( "cache-local" 
).toAbsolutePath().normalize();

Reply via email to