This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 7a75f87 CAMEL-16220: camel-http - optimize producer when sending to uri without any change 7a75f87 is described below commit 7a75f8725d3ae491454579f0f0b2e0acb5e54d66 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Feb 16 20:46:21 2021 +0100 CAMEL-16220: camel-http - optimize producer when sending to uri without any change --- .../java/org/apache/camel/component/http/HttpProducerLoadTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProducerLoadTest.java b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProducerLoadTest.java index 006a072..da0cf75 100644 --- a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProducerLoadTest.java +++ b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpProducerLoadTest.java @@ -30,13 +30,14 @@ import org.apache.http.impl.bootstrap.HttpServer; import org.apache.http.impl.bootstrap.ServerBootstrap; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.apache.camel.component.http.HttpMethods.GET; -//@Disabled("Manual test") +@Disabled("Manual test") public class HttpProducerLoadTest extends BaseHttpTest { private static final Logger LOG = LoggerFactory.getLogger(HttpProducerLoadTest.class); @@ -71,7 +72,8 @@ public class HttpProducerLoadTest extends BaseHttpTest { @Override public void configure() throws Exception { from("direct:echo") - .to("http://localhost:5678?copyHeaders=false"); + .to("http://localhost:" + localServer.getLocalPort() + + "/echo?throwExceptionOnFailure=false"); } }; }