[
https://issues.apache.org/jira/browse/HDFS-4743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-4743:
--------------------------------
Attachment: HDFS-4743.1.patch
This patch corrects 2 problems with this test:
# It was iterating over a {{HashSet}} and expecting results in a certain order.
To enforce deterministic iteration order, I've switched these to
{{LinkedHashSet}}.
# Test paths specified with '/' were getting converted to '\', causing
assertion failures. To fix this, I've changed the test to store test paths as
{{File}} instead of {{String}} and then convert to URI paths for the
assertions. This is guaranteed to be separated with '/'.
I tested successfully on Mac and Windows.
> TestNNStorageRetentionManager fails on Windows
> ----------------------------------------------
>
> Key: HDFS-4743
> URL: https://issues.apache.org/jira/browse/HDFS-4743
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: HDFS-4743.1.patch
>
>
> On Windows, this test fails on assertions about the expected purged files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira