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 0089fd342 Build passes locally but fails on GH CI
0089fd342 is described below

commit 0089fd342179c6fab242ee08cba594adf1f0cb7b
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Apr 16 15:14:38 2025 -0400

    Build passes locally but fails on GH CI
---
 .../compress/compressors/lzma/LZMACompressorOutputStreamTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStreamTest.java
 
b/src/test/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStreamTest.java
index 0067d6f63..718c58149 100644
--- 
a/src/test/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStreamTest.java
+++ 
b/src/test/java/org/apache/commons/compress/compressors/lzma/LZMACompressorOutputStreamTest.java
@@ -55,12 +55,12 @@ private void roundtrip(final Path outPath, final 
LZMA2Options options) throws IO
 
     @Test
     public void testBuilderOptionsAll() throws IOException {
-        final int dictSize = LZMA2Options.DICT_SIZE_MAX;
+        final int dictSize = LZMA2Options.DICT_SIZE_MIN;
         final int lc = LZMA2Options.LC_LP_MAX - 4;
         final int lp = LZMA2Options.LC_LP_MAX - 4;
         final int pb = LZMA2Options.PB_MAX;
         final int mode = LZMA2Options.MODE_NORMAL;
-        final int niceLen = LZMA2Options.NICE_LEN_MAX;
+        final int niceLen = LZMA2Options.NICE_LEN_MIN;
         final int mf = LZMA2Options.MF_BT4;
         final int depthLimit = 50;
         roundtrip(tempDir.resolve("out.lzma"), new LZMA2Options(dictSize, lc, 
lp, pb, mode, niceLen, mf, depthLimit));

Reply via email to