camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [1/2] git commit: CAMEL-7314 Fixed the test errors of itest with JDK8
Date Wed, 21 May 2014 05:52:08 GMT
Repository: camel
Updated Branches:
  refs/heads/master 66e8c5b26 -> 583af6954


CAMEL-7314 Fixed the test errors of itest with JDK8


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

Branch: refs/heads/master
Commit: a13c3774c2f67e372bfdabdf236c6fa23b2f4a9e
Parents: 66e8c5b
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed May 21 11:19:52 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed May 21 11:19:52 2014 +0800

----------------------------------------------------------------------
 .../org/apache/camel/itest/http/Http4EndpointTest-context.xml      | 2 +-
 .../camel/itest/http/Http4MaxConnectionPerHostTest-context.xml     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a13c3774/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4EndpointTest-context.xml
----------------------------------------------------------------------
diff --git a/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4EndpointTest-context.xml
b/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4EndpointTest-context.xml
index 66bce44..e265c26 100644
--- a/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4EndpointTest-context.xml
+++ b/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4EndpointTest-context.xml
@@ -27,7 +27,7 @@
     <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
     
     <bean id="httpEndpoint" class="org.apache.camel.component.http4.HttpEndpoint">
-        <property name="httpUri" value="http://127.0.0.1:${HttpTestServer.Port}/"/>
+        <property name="httpUri" value="http://localhost:${HttpTestServer.Port}/"/>
         <property name="clientBuilder" ref="clientBuilder"/>
         <property name="clientConnectionManager" ref="myManager"/>
     </bean>

http://git-wip-us.apache.org/repos/asf/camel/blob/a13c3774/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4MaxConnectionPerHostTest-context.xml
----------------------------------------------------------------------
diff --git a/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4MaxConnectionPerHostTest-context.xml
b/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4MaxConnectionPerHostTest-context.xml
index 1287de6..2c71c56 100644
--- a/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4MaxConnectionPerHostTest-context.xml
+++ b/tests/camel-itest/src/test/resources/org/apache/camel/itest/http/Http4MaxConnectionPerHostTest-context.xml
@@ -36,7 +36,7 @@
     <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring" trace="true">
         <route>
             <from uri="direct:start"/>
-            <to uri="http://127.0.0.1:{{HttpTestServer.Port}}/"/>
+            <to uri="http://localhost:{{HttpTestServer.Port}}/"/>
             <to uri="mock:result"/>
         </route>
     </camelContext>


Mime
View raw message