camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9148) camel-hbase tests pass despite setup error
Date Tue, 22 Sep 2015 09:09:04 GMT

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

Mime
View raw message