Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07FDF105EB for ; Tue, 20 Aug 2013 03:46:55 +0000 (UTC) Received: (qmail 70317 invoked by uid 500); 20 Aug 2013 03:46:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70051 invoked by uid 500); 20 Aug 2013 03:46:53 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 69975 invoked by uid 99); 20 Aug 2013 03:46:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 03:46:52 +0000 Date: Tue, 20 Aug 2013 03:46:52 +0000 (UTC) From: "Himanshu Vashishtha (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9195) Fix TestFSHDFSUtils against java7 test re-ordering MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Himanshu Vashishtha updated HBASE-9195: --------------------------------------- Attachment: HBase-9195-94.patch Jon, yes, that's the issue. Attaching 0.94 version (identical to trunk). > 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 > Assignee: Himanshu Vashishtha > Priority: Minor > Fix For: 0.98.0, 0.95.3 > > Attachments: HBase-9195-94.patch, 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