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 9F57810336 for ; Sat, 27 Jul 2013 15:31:52 +0000 (UTC) Received: (qmail 17065 invoked by uid 500); 27 Jul 2013 15:31:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 16827 invoked by uid 500); 27 Jul 2013 15:31:49 -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 16812 invoked by uid 99); 27 Jul 2013 15:31:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jul 2013 15:31:48 +0000 Date: Sat, 27 Jul 2013 15:31:48 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9058) deleteSnapshot() call may be skipped in TestFlushSnapshotFromClient tests 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-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-9058: -------------------------- Attachment: (was: 9055-v2.txt) > deleteSnapshot() call may be skipped in TestFlushSnapshotFromClient tests > ------------------------------------------------------------------------- > > Key: HBASE-9058 > URL: https://issues.apache.org/jira/browse/HBASE-9058 > Project: HBase > Issue Type: Test > Reporter: Ted Yu > Assignee: Ted Yu > Priority: Minor > > At the end of each test, we have this call: > admin.deleteSnapshot(snapshotName); > However it is not placed in finally block. When assertion in earlier part of the test fails (See [1]), snapshot cleanup would be skipped, leading to SnapshotTestingUtils.assertNoSnapshots() failing for subsequent tests. > [1]: https://builds.apache.org/job/hbase-0.95-on-hadoop2/197/testReport/org.apache.hadoop.hbase.snapshot/TestFlushSnapshotFromClient/testFlushCreateListDestroy/ -- 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