From 96a046843611d4abe255843be969e97967ebe6a8 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Thu, 29 Aug 2024 08:47:49 +1000 Subject: [PATCH] Issue #11434 - remove printlns in AliasCheckerSymlinkTest Signed-off-by: Lachlan Roberts --- .../org/eclipse/jetty/ee9/test/AliasCheckerSymlinkTest.java | 2 -- .../java/org/eclipse/jetty/test/AliasCheckerSymlinkTest.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/jetty-ee9/jetty-ee9-tests/jetty-ee9-test-integration/src/test/java/org/eclipse/jetty/ee9/test/AliasCheckerSymlinkTest.java b/jetty-ee9/jetty-ee9-tests/jetty-ee9-test-integration/src/test/java/org/eclipse/jetty/ee9/test/AliasCheckerSymlinkTest.java index 77811a8cf76..7ea416c523f 100644 --- a/jetty-ee9/jetty-ee9-tests/jetty-ee9-test-integration/src/test/java/org/eclipse/jetty/ee9/test/AliasCheckerSymlinkTest.java +++ b/jetty-ee9/jetty-ee9-tests/jetty-ee9-test-integration/src/test/java/org/eclipse/jetty/ee9/test/AliasCheckerSymlinkTest.java @@ -296,11 +296,9 @@ public class AliasCheckerSymlinkTest @MethodSource("combinedResourceTestCases") public void testCombinedResource(AliasCheck aliasChecker, String path, int httpStatus, String responseContent) throws Exception { - System.err.printf("path:%s, status:%s, content:%s%n", path, httpStatus, responseContent); setAliasChecker(_context2, aliasChecker); URI uri = URI.create("http://localhost:" + _connector.getLocalPort() + path); ContentResponse response = _client.GET(uri); - System.err.println(response.getContentAsString()); assertThat(response.getStatus(), is(httpStatus)); if (responseContent != null) diff --git a/tests/test-integration/src/test/java/org/eclipse/jetty/test/AliasCheckerSymlinkTest.java b/tests/test-integration/src/test/java/org/eclipse/jetty/test/AliasCheckerSymlinkTest.java index 6a97ba34893..7ecc03ffdd2 100644 --- a/tests/test-integration/src/test/java/org/eclipse/jetty/test/AliasCheckerSymlinkTest.java +++ b/tests/test-integration/src/test/java/org/eclipse/jetty/test/AliasCheckerSymlinkTest.java @@ -296,11 +296,9 @@ public class AliasCheckerSymlinkTest @MethodSource("combinedResourceTestCases") public void testCombinedResource(AliasCheck aliasChecker, String path, int httpStatus, String responseContent) throws Exception { - System.err.printf("path:%s, status:%s, content:%s%n", path, httpStatus, responseContent); setAliasChecker(_context2, aliasChecker); URI uri = URI.create("http://localhost:" + _connector.getLocalPort() + path); ContentResponse response = _client.GET(uri); - System.err.println(response.getContentAsString()); assertThat(response.getStatus(), is(httpStatus)); if (responseContent != null)