camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: add more precise information of skipped tests and append warnings on the console. Fixes #633.
Date Sat, 17 Oct 2015 09:13:21 GMT
Repository: camel
Updated Branches:
  refs/heads/master a92932a0d -> f8def8a14


add more precise information of skipped tests and append warnings on the console. Fixes #633.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f8def8a1
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f8def8a1
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f8def8a1

Branch: refs/heads/master
Commit: f8def8a14bee29faaf001b4d7cdcfdf10f6a150a
Parents: a92932a
Author: woj-i <wojciechindyk@gmail.com>
Authored: Thu Oct 8 18:05:46 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Oct 17 11:15:48 2015 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/hbase/CamelHBaseTestSupport.java    | 2 +-
 components/camel-hbase/src/test/resources/log4j.properties         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f8def8a1/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseTestSupport.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseTestSupport.java
b/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseTestSupport.java
index ac533f9..937ef22 100644
--- a/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseTestSupport.java
+++ b/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseTestSupport.java
@@ -73,7 +73,7 @@ public abstract class CamelHBaseTestSupport extends CamelTestSupport {
         try {
             hbaseUtil.startMiniCluster(numServers);
         } catch (Exception e) {
-            LOG.error("couldn't start HBase cluster.", e);
+            LOG.warn("couldn't start HBase cluster. Test is not started, but passed!", e);
             systemReady = false;
         }
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/f8def8a1/components/camel-hbase/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/test/resources/log4j.properties b/components/camel-hbase/src/test/resources/log4j.properties
index 2958187..306ab49 100644
--- a/components/camel-hbase/src/test/resources/log4j.properties
+++ b/components/camel-hbase/src/test/resources/log4j.properties
@@ -19,6 +19,7 @@
 # The logging properties used for testing
 #
 log4j.rootLogger=INFO, file
+log4j.logger.org.apache.camel.component.hbase=WARN, out
 
 # uncomment the following line to turn on Camel debugging
 #log4j.logger.org.apache.camel=DEBUG


Mime
View raw message