Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB983176C7 for ; Tue, 22 Sep 2015 09:09:10 +0000 (UTC) Received: (qmail 93235 invoked by uid 500); 22 Sep 2015 09:09:04 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 93198 invoked by uid 500); 22 Sep 2015 09:09:04 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 93188 invoked by uid 99); 22 Sep 2015 09:09:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2015 09:09:04 +0000 Date: Tue, 22 Sep 2015 09:09:04 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-9148) camel-hbase tests pass despite setup error 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/CAMEL-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902266#comment-14902266 ] Claus Ibsen commented on CAMEL-9148: ------------------------------------ The test cannot run on all platforms and systems, such as CI servers. We may log a WARN etc when the tests are not run. > camel-hbase tests pass despite setup error > ------------------------------------------ > > Key: CAMEL-9148 > URL: https://issues.apache.org/jira/browse/CAMEL-9148 > Project: Camel > Issue Type: Test > Components: camel-hbase > Reporter: Wojciech Indyk > > there is clause in tests: when system is not ready (a local test cluster failed) then test is passed. It concerns all test cases. It is because a setUp method is: > {code:java} > try { > hbaseUtil.startMiniCluster(numServers); > } catch (Exception e) { > LOG.error("couldn't start HBase cluster.", e); > systemReady = false; > } > {code} > in my opinion this catch should be droped. When start of a miniCluster is failed, then tests should failed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)