This is an automated email from the ASF dual-hosted git repository. abhishekrb pushed a commit to branch jdk_21_tests in repository https://gitbox.apache.org/repos/asf/druid.git
commit dd273026af9a7007848d2e4931b567f2774fb2af Author: Abhishek Balaji Radhakrishnan <[email protected]> AuthorDate: Wed Nov 5 09:05:15 2025 -0800 Trigger build --- .../java/org/apache/druid/java/util/common/CompressionUtilsTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/processing/src/test/java/org/apache/druid/java/util/common/CompressionUtilsTest.java b/processing/src/test/java/org/apache/druid/java/util/common/CompressionUtilsTest.java index f02e441573a..2e62bcff151 100644 --- a/processing/src/test/java/org/apache/druid/java/util/common/CompressionUtilsTest.java +++ b/processing/src/test/java/org/apache/druid/java/util/common/CompressionUtilsTest.java @@ -602,7 +602,7 @@ public class CompressionUtilsTest } }; - Assert.assertEquals((long) (EXPECTED.length * 3), CompressionUtils.gunzip(inputStreamFactory, testFile).size()); + Assert.assertEquals(EXPECTED.length * 3, CompressionUtils.gunzip(inputStreamFactory, testFile).size()); try (final InputStream inputStream = new FileInputStream(testFile)) { try (final ByteArrayOutputStream outputStream = new ByteArrayOutputStream(EXPECTED.length * 3)) { @@ -624,7 +624,6 @@ public class CompressionUtilsTest // http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7036144 public void testGunzipBugStreamWorkarround() throws IOException { - final ByteArrayOutputStream tripleGzByteStream = new ByteArrayOutputStream(GZ_BYTES.length * 3); tripleGzByteStream.write(GZ_BYTES); tripleGzByteStream.write(GZ_BYTES); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
