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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new b6e67b809 Better test for COMPRESS-687
b6e67b809 is described below

commit b6e67b809d193d7fe49993438498a316525fa5f6
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Apr 17 11:34:05 2025 -0400

    Better test for COMPRESS-687
---
 .../commons/compress/compressors/pack200/Compress687Test.java      | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/compress/compressors/pack200/Compress687Test.java
 
b/src/test/java/org/apache/commons/compress/compressors/pack200/Compress687Test.java
index 1bce4ea0d..e0d3e94e9 100644
--- 
a/src/test/java/org/apache/commons/compress/compressors/pack200/Compress687Test.java
+++ 
b/src/test/java/org/apache/commons/compress/compressors/pack200/Compress687Test.java
@@ -27,6 +27,9 @@
 import org.apache.commons.io.output.NullOutputStream;
 import org.junit.jupiter.api.Test;
 
+/**
+ * Tests <a 
href="https://issues.apache.org/jira/browse/COMPRESS-687";>COMPRESS-687</a>.
+ */
 public class Compress687Test {
 
     private static final String FIXTURE = 
"org/apache/commons/compress/COMPRESS-687/test-issue.7z";
@@ -42,7 +45,9 @@ public void testTransferTo() throws Exception {
                 Pack200CompressorInputStream compressInputStream = new 
Pack200CompressorInputStream(inputStream)) {
             IOUtils.copy(compressInputStream, NullOutputStream.INSTANCE);
         }
-        // System.out.println("Done.");
+        if (Boolean.getBoolean("Compress687Test.sysout")) {
+            System.out.println("Done.");
+        }
     }
 
     private long transferTo(final InputStream in, final OutputStream out) 
throws IOException {

Reply via email to