Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
A test written as part of HDFS-8767 uses Mockito's Whitebox#setInternalState to force the static RawLocalFileSystem#useDeprecatedFileStatus to false. On systems that don't implement a stat call (notably Windows), this leaves the class in a state where it will attempt the stat call anyway during subsequent tests. This ultimately causes tests to fail with UnsupportedOperationException.
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-8767 RawLocalFileSystem.listStatus() returns null for UNIX pipefile
- Closed