Integrated: 8303891: Speed up Zip64SizeTest using a small ZIP64 file
Eirik Bjørsnøs
eirbjo at openjdk.org
Tue Feb 13 16:21:59 UTC 2024
On Thu, 9 Mar 2023 12:06:52 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:
> Please review this PR which suggests we speed up the `Zip64SizeTest` using a small-sized ZIP64 ZIP file specifically created to reproduce the issue being tested.
>
> The disk space requirement of this test is known to cause problems in some builds, see [JDK-8259866](https://bugs.openjdk.org/browse/JDK-8259866)
>
> By using a sparse file, we reduce consumed disk space from 5GB to 266 bytes and also reduce the runtime from ~35 seconds to ~1 seconds on my Macbook Pro.
>
> The PR also fixes the `@summary` tag, which seems to have been copied from an unrelated test.
This pull request has now been integrated.
Changeset: 842b895f
Author: Eirik Bjørsnøs <eirbjo at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/842b895f093e15ecd8aa0153d712f5f81cf1cf67
Stats: 147 lines in 1 file changed: 75 ins; 10 del; 62 mod
8303891: Speed up Zip64SizeTest using a small ZIP64 file
8259866: two java.util tests failed with "IOException: There is not enough space on the disk"
Reviewed-by: lancea, jpai
-------------
PR: https://git.openjdk.org/jdk/pull/12948
More information about the core-libs-dev
mailing list