You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Pascal Schumacher <pa...@gmx.net> on 2018/01/14 11:03:33 UTC

org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer test failure

Hello everyone,

org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer 
always fails on build.apache.org and locally with:

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.342 
sec <<< FAILURE! - in 
org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest
testLoadBalancer(org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest) 
Time elapsed: 0.301 sec  <<< ERROR!
org.apache.camel.CamelExecutionException: Exception occurred during 
execution on the exchange: Exchange[ID--1515927432095-2-1]
         at 
org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer(RibbonLoadBalancerTest.java:72)
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to 
resolve endpoint: http4://jetty:http://localhost:9091 due to: No 
component found with scheme: http4
         at 
org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer(RibbonLoadBalancerTest.java:72)

Adding camel-http4 as a test dependency fixes the failure, but I'm not 
sure it is the correct way to fix this.

-Pascal





Re: org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer test failure

Posted by Pascal Schumacher <pa...@gmx.net>.
Am 14.01.2018 um 13:38 schrieb Claus Ibsen:
> Yeah we should add that as test dependency as its used in the unit
> test (http4 is the default component the service call eip uses).
Did not know that. Thanks!
> So you are welcome to add that.
Just did.

Cheers,
Pascal

Re: org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer test failure

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah we should add that as test dependency as its used in the unit
test (http4 is the default component the service call eip uses). So
you are welcome to add that.

On Sun, Jan 14, 2018 at 12:03 PM, Pascal Schumacher
<pa...@gmx.net> wrote:
> Hello everyone,
>
> org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer
> always fails on build.apache.org and locally with:
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.342 sec
> <<< FAILURE! - in
> org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest
> testLoadBalancer(org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest)
> Time elapsed: 0.301 sec  <<< ERROR!
> org.apache.camel.CamelExecutionException: Exception occurred during
> execution on the exchange: Exchange[ID--1515927432095-2-1]
>         at
> org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer(RibbonLoadBalancerTest.java:72)
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
> resolve endpoint: http4://jetty:http://localhost:9091 due to: No component
> found with scheme: http4
>         at
> org.apache.camel.component.ribbon.springboot.cloud.RibbonLoadBalancerTest.testLoadBalancer(RibbonLoadBalancerTest.java:72)
>
> Adding camel-http4 as a test dependency fixes the failure, but I'm not sure
> it is the correct way to fix this.
>
> -Pascal
>
>
>
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2