You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2023/08/26 12:56:59 UTC
[maven-build-cache-extension] branch nologintests created (now 084974c)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch nologintests
in repository https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git
at 084974c remove debugging code
This branch includes the following new commits:
new 084974c remove debugging code
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[maven-build-cache-extension] 01/01: remove debugging code
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch nologintests
in repository https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git
commit 084974c3145236f04b926860da962e0d0e2e3234
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sat Aug 26 08:56:47 2023 -0400
remove debugging code
---
.../maven/buildcache/its/RemoteCacheDavTest.java | 18 +-----------------
1 file changed, 1 insertion(+), 17 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 4e5d216..dcdac3a 100644
--- a/src/test/java/org/apache/maven/buildcache/its/RemoteCacheDavTest.java
+++ b/src/test/java/org/apache/maven/buildcache/its/RemoteCacheDavTest.java
@@ -55,8 +55,6 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;
@@ -71,7 +69,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
@Testcontainers(disabledWithoutDocker = true)
public class RemoteCacheDavTest {
- private static final Logger LOGGER = LoggerFactory.getLogger(RemoteCacheDavTest.class);
public static final String DAV_DOCKER_IMAGE =
"xama/nginx-webdav@sha256:84171a7e67d7e98eeaa67de58e3ce141ec1d0ee9c37004e7096698c8379fd9cf";
private static final String DAV_USERNAME = "admin";
@@ -125,21 +122,8 @@ public class RemoteCacheDavTest {
@AfterEach
public void cleanup() throws Exception {
-
- org.testcontainers.containers.Container.ExecResult result = dav.execInContainer("ls", "-lrt", "/var/webdav");
-
- LOGGER.info("before clean in container result: {}", result);
-
- result = dav.execInContainer("rm", "-rf", "/var/webdav");
-
- LOGGER.info("clean in container result: {}", result);
-
- result = dav.execInContainer("ls", "-lrt", "/var/webdav");
-
- LOGGER.info("after clean in container result: {}", result);
-
+ dav.execInContainer("rm", "-rf", "/var/webdav");
cleanDirs(localCache);
-
dav.close();
}