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 46696ea6a Add and disable Compress700Test
46696ea6a is described below

commit 46696ea6ac16b83b73e9722f06d13cb2764e43f1
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri May 30 17:01:28 2025 -0400

    Add and disable Compress700Test
---
 .../compress/archivers/tar/Compress699Test.java        |   3 ++-
 .../tar/{Compress699Test.java => Compress700Test.java} |   8 +++++---
 .../COMPRESS-699/flutter_awesome_buttons-0.1.0.tar     | Bin 0 -> 284160 bytes
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/compress/archivers/tar/Compress699Test.java 
b/src/test/java/org/apache/commons/compress/archivers/tar/Compress699Test.java
index 30dcd32a9..987822b98 100644
--- 
a/src/test/java/org/apache/commons/compress/archivers/tar/Compress699Test.java
+++ 
b/src/test/java/org/apache/commons/compress/archivers/tar/Compress699Test.java
@@ -38,7 +38,8 @@ public class Compress699Test {
     public void testTarArchive() throws Exception {
         final Path fileToTest = 
Paths.get("src/test/resources/org/apache/commons/compress/COMPRESS-699/icure_medical_device_dart_sdk-1.2.10.tar");
         try (BufferedInputStream fileInputStream = new 
BufferedInputStream(Files.newInputStream(fileToTest))) {
-            assertEquals("tar", ArchiveStreamFactory.detect(fileInputStream));
+            assertEquals(ArchiveStreamFactory.TAR, 
ArchiveStreamFactory.detect(fileInputStream));
         }
     }
+
 }
diff --git 
a/src/test/java/org/apache/commons/compress/archivers/tar/Compress699Test.java 
b/src/test/java/org/apache/commons/compress/archivers/tar/Compress700Test.java
similarity index 84%
copy from 
src/test/java/org/apache/commons/compress/archivers/tar/Compress699Test.java
copy to 
src/test/java/org/apache/commons/compress/archivers/tar/Compress700Test.java
index 30dcd32a9..9b9929fe5 100644
--- 
a/src/test/java/org/apache/commons/compress/archivers/tar/Compress699Test.java
+++ 
b/src/test/java/org/apache/commons/compress/archivers/tar/Compress700Test.java
@@ -28,17 +28,19 @@
 
 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
 import org.junit.Test;
+import org.junit.jupiter.api.Disabled;
 
 /**
  * Tests https://issues.apache.org/jira/browse/COMPRESS-699
  */
-public class Compress699Test {
+public class Compress700Test {
 
+    @Disabled
     @Test
     public void testTarArchive() throws Exception {
-        final Path fileToTest = 
Paths.get("src/test/resources/org/apache/commons/compress/COMPRESS-699/icure_medical_device_dart_sdk-1.2.10.tar");
+        final Path fileToTest = 
Paths.get("src/test/resources/org/apache/commons/compress/COMPRESS-699/flutter_awesome_buttons-0.1.0.tar");
         try (BufferedInputStream fileInputStream = new 
BufferedInputStream(Files.newInputStream(fileToTest))) {
-            assertEquals("tar", ArchiveStreamFactory.detect(fileInputStream));
+            assertEquals(ArchiveStreamFactory.TAR, 
ArchiveStreamFactory.detect(fileInputStream));
         }
     }
 }
diff --git 
a/src/test/resources/org/apache/commons/compress/COMPRESS-699/flutter_awesome_buttons-0.1.0.tar
 
b/src/test/resources/org/apache/commons/compress/COMPRESS-699/flutter_awesome_buttons-0.1.0.tar
new file mode 100644
index 000000000..e5ae3298e
Binary files /dev/null and 
b/src/test/resources/org/apache/commons/compress/COMPRESS-699/flutter_awesome_buttons-0.1.0.tar
 differ

Reply via email to