[ https://issues.apache.org/jira/browse/HDFS-3829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467246#comment-13467246 ]
Trevor Robinson commented on HDFS-3829: --------------------------------------- You mean by moving {{HftpFileSystem fs}} from a local variable to an instance variable? That doesn't seem more readable to me. > TestHftpURLTimeouts fails intermittently with JDK7 > -------------------------------------------------- > > Key: HDFS-3829 > URL: https://issues.apache.org/jira/browse/HDFS-3829 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 2.0.2-alpha > Environment: Apache Maven 3.0.4 > Maven home: /usr/share/maven > Java version: 1.7.0_04, vendor: Oracle Corporation > Java home: /usr/lib/jvm/jdk1.7.0_04/jre > Default locale: en_US, platform encoding: ISO-8859-1 > OS name: "linux", version: "3.2.0-25-generic", arch: "amd64", family: "unix" > Reporter: Trevor Robinson > Assignee: Trevor Robinson > Labels: java7 > Attachments: HDFS-3829.patch > > > {{testHftpSocketTimeout}} fails if run after {{testHsftpSocketTimeout}}: > {noformat} > testHftpSocketTimeout(org.apache.hadoop.hdfs.TestHftpURLTimeouts): > expected:<connect timed out> but was:<null> > {noformat} -- 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