[14-testbug] 8225471: Test utility jdk.test.lib.util.FileUtils.areAllMountPointsAccessible needs to tolerate duplicates
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Jan 23 00:20:24 UTC 2020
To at least provisionally fix [1] so as not to fail java/nio/file/FileStore/Basic.java on misconfigured systems, the patch [2] is proposed. This affects non-Windows systems only. As in the previous version, the FileStore enumeration test is skipped if the “df” command hangs a spawned process which is indicative of a network problem. In this version the FileStore enumeration test will also be skipped if any two lines of the “df” output are equal. In the previous version a RuntimeException would be thrown if two consecutive lines of the “df" output were equal and so the test would fail. This patch would remove that failure mode. Issue [3] is on file to perform further investigation of better handling of duplicate mount points at a later time.
Thanks,
Brian
[1] https://bugs.openjdk.java.net/browse/JDK-8225471
[2] http://cr.openjdk.java.net/~bpb/8225471/webrev.00/
[3] https://bugs.openjdk.java.net/browse/JDK-8225461
More information about the nio-dev
mailing list