[14-testbug] 8225471: Test utility jdk.test.lib.util.FileUtils.areAllMountPointsAccessible needs to tolerate duplicates

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 23 13:03:03 UTC 2020


On 23/01/2020 00:20, Brian Burkhalter wrote:
> 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.
>
This looks okay to me.

-Alan


More information about the nio-dev mailing list