You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/09/22 11:09:04 UTC

[jira] [Commented] (CAMEL-9148) camel-hbase tests pass despite setup error

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