Abhishek Balaji Radhakrishnan
11/05/2025, 2:23 AMCompressionUtilsTest#testGunzipBug() test has been flaky on JDK 21. All PR merges into master have failed with this in the past 3 weeks (refs: 1, 2, 3). This seems to coincide with the JDK 21 upgrade, it seems CI is pulling the latest version 21.0.9 and it’s possible that the underlying JDK bug has been fixed in this version. The issue appears only on master since PRs don’t currently run tests with JDK 21.
From what I can tell, these tests don’t actually test Druid’s CompressionUtils internals but were likely added to track the historical JDK bug (they still pass on jdk 17). Should we consider removing these tests testGunzipBug, testGunzipBugWorkaround and testGunzipBugStreamWorkaround ? Or disable them when running on JDK 21 if they still serve a purpose?Abhishek Balaji Radhakrishnan
11/05/2025, 2:29 AMGian Merlino
11/05/2025, 4:19 PMGian Merlino
11/05/2025, 4:19 PMAbhishek Balaji Radhakrishnan
11/05/2025, 7:24 PMAbhishek Balaji Radhakrishnan
11/05/2025, 7:26 PMGian Merlino
11/05/2025, 11:27 PMAbhishek Balaji Radhakrishnan
11/07/2025, 7:49 PMGian Merlino
11/07/2025, 8:01 PMAbhishek Balaji Radhakrishnan
11/07/2025, 8:32 PMGian Merlino
11/07/2025, 10:07 PM