hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-12438) TestLocalFileSystem tests can fail on Windows after HDFS-8767 fix for handling pipe.
Date Wed, 23 Sep 2015 22:18:04 GMT
Chris Nauroth created HADOOP-12438:
--------------------------------------

             Summary: TestLocalFileSystem tests can fail on Windows after HDFS-8767 fix for
handling pipe.
                 Key: HADOOP-12438
                 URL: https://issues.apache.org/jira/browse/HADOOP-12438
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth
            Priority: Trivial


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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message