RFR: 8249693: java/nio/channels/FileChannel/FileExtensionAndMap.java uses @ignore w/o bug id
Andrey Turbanov
aturbanov at openjdk.org
Sun Nov 13 16:55:27 UTC 2022
On Mon, 7 Nov 2022 19:13:24 GMT, Matthew Donovan <duke at openjdk.org> wrote:
> Added a check that source and destination volumes have enough space to run the test.
>
> This test will no longer be ignored.
test/jdk/java/nio/channels/FileChannel/FileExtensionAndMap.java line 146:
> 144: for (Path p : List.of(destinationPath, tmpDir)) {
> 145: long usableDiskSpace = Files.getFileStore(p).getUsableSpace();
> 146: if(usableDiskSpace < totalDiskSpaceNeeded) {
Suggestion:
if (usableDiskSpace < totalDiskSpaceNeeded) {
-------------
PR: https://git.openjdk.org/jdk/pull/11028
More information about the nio-dev
mailing list