Repository: camel
Updated Branches:
  refs/heads/master 78ac444b6 -> e007ca9e7


CAMEL-8169 Polish the code of HttpRouteContentLengthTest


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

Branch: refs/heads/master
Commit: 53c0b336d7f46bc633ee3bb72663084eb082b6a0
Parents: 78ac444
Author: Willem Jiang <willem.ji...@gmail.com>
Authored: Thu Feb 12 09:24:25 2015 +0800
Committer: Willem Jiang <willem.ji...@gmail.com>
Committed: Thu Feb 12 09:24:25 2015 +0800

----------------------------------------------------------------------
 .../apache/camel/itest/http/HttpRouteContentLengthTest.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/53c0b336/tests/camel-itest/src/test/java/org/apache/camel/itest/http/HttpRouteContentLengthTest.java
----------------------------------------------------------------------
diff --git 
a/tests/camel-itest/src/test/java/org/apache/camel/itest/http/HttpRouteContentLengthTest.java
 
b/tests/camel-itest/src/test/java/org/apache/camel/itest/http/HttpRouteContentLengthTest.java
index b4c8918..f5dc5ca 100644
--- 
a/tests/camel-itest/src/test/java/org/apache/camel/itest/http/HttpRouteContentLengthTest.java
+++ 
b/tests/camel-itest/src/test/java/org/apache/camel/itest/http/HttpRouteContentLengthTest.java
@@ -30,15 +30,15 @@ public class HttpRouteContentLengthTest extends 
CamelTestSupport {
 
     @Test
     public void testHttpClientContentLength() throws Exception {
-        invokeService(port1, true);
+        invokeService(port1);
     }
     
     @Test
     public void testHttpRouteContentLength() throws Exception {
-        invokeService(port2, false);
+        invokeService(port2);
     }
     
-    private void invokeService(int port, boolean checkChunkedHeader) {
+    private void invokeService(int port) {
         Exchange out = template.request("http://localhost:"; + port + "/test", 
new Processor() {
 
             @Override

Reply via email to