You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/02/26 12:34:05 UTC

camel git commit: Fixed the test errors of camel-mqtt on JDK 1.8

Repository: camel
Updated Branches:
  refs/heads/camel-2.14.x 108dbfca9 -> bd88fc655


Fixed the test errors of camel-mqtt on JDK 1.8


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

Branch: refs/heads/camel-2.14.x
Commit: bd88fc6550751bfa98a503ca7e4896d6e3a6207f
Parents: 108dbfc
Author: Willem Jiang <wi...@gmail.com>
Authored: Thu Feb 26 19:25:18 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Thu Feb 26 19:33:53 2015 +0800

----------------------------------------------------------------------
 .../test/java/org/apache/camel/component/mqtt/MQTTBaseTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bd88fc65/components/camel-mqtt/src/test/java/org/apache/camel/component/mqtt/MQTTBaseTest.java
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/test/java/org/apache/camel/component/mqtt/MQTTBaseTest.java b/components/camel-mqtt/src/test/java/org/apache/camel/component/mqtt/MQTTBaseTest.java
index f0d9460..f29a392 100644
--- a/components/camel-mqtt/src/test/java/org/apache/camel/component/mqtt/MQTTBaseTest.java
+++ b/components/camel-mqtt/src/test/java/org/apache/camel/component/mqtt/MQTTBaseTest.java
@@ -35,7 +35,7 @@ public abstract class MQTTBaseTest extends CamelTestSupport {
         brokerService = new BrokerService();
         brokerService.setPersistent(false);
         brokerService.setAdvisorySupport(false);
-        brokerService.addConnector("mqtt://localhost:1883");
+        brokerService.addConnector("mqtt://127.0.0.1:1883");
         brokerService.start();
         super.setUp();
     }