RFR: 8346972: Test java/nio/channels/FileChannel/LoopingTruncate.java fails sometimes with IOException: There is not enough space on the disk [v2]
Brian Burkhalter
bpb at openjdk.org
Fri Jan 10 16:18:38 UTC 2025
On Fri, 10 Jan 2025 09:04:20 GMT, Volkan Yazıcı <duke at openjdk.org> wrote:
>> Switches from using the temporary directory to work directory in `LoopingTruncate`. This should effectively provide sufficient space for the test finish. Solution is tipped by @bplb. `tier1,2` tests' results will be attached to the ticket once they finish.
>
> Volkan Yazıcı has updated the pull request incrementally with one additional commit since the last revision:
>
> Simplify and document changes in `LoopingTruncate`
test/jdk/java/nio/channels/FileChannel/LoopingTruncate.java line 52:
> 50: public static void main(String[] args) throws Throwable {
> 51: Path path = Files.createTempFile(
> 52: // Intentionally opting out from the default `java.io.tmpdir`.
A comment within the parameter list seems a bit weird as does the indentation.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23011#discussion_r1910603829
More information about the nio-dev
mailing list