[ 
https://issues.apache.org/jira/browse/HBASE-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744530#comment-13744530
 ] 

Himanshu Vashishtha commented on HBASE-9195:
--------------------------------------------

Jon: http://www.oracle.com/technetwork/java/javase/compatibility-417013.html,  
section (JDK 7 Incompatibilities in javac, in HotSpot, or Java SE API)
                
> Fix TestFSHDFSUtils against java7 test re-ordering
> --------------------------------------------------
>
>                 Key: HBASE-9195
>                 URL: https://issues.apache.org/jira/browse/HBASE-9195
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.95.1
>            Reporter: Himanshu Vashishtha
>            Priority: Minor
>         Attachments: HBase-9195.patch, HBase-9195.patch, HBase-9195-v1.patch
>
>
> The test methods of TestFSHDFSUtils depends on 
> hbase.lease.recovery.dfs.timeout, which is overwritten by testIsFileClosed. 
> In case it runs first, it fails testRecoverLease because it assumes a 
> different value. This makes this test flakey in java7 environment. 
> The proposed fix is to let both tests specify the property value in their 
> definition.

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

Reply via email to