[ 
https://issues.apache.org/jira/browse/CAMEL-23734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088218#comment-18088218
 ] 

Aurélien Pupier commented on CAMEL-23734:
-----------------------------------------

more precise error message using assertj:

{noformat}
java.lang.AssertionError: 
Expecting actual throwable to be an instance of:
  java.lang.IllegalStateException
but was:
  org.apache.camel.http.base.HttpOperationFailedException: HTTP operation 
failed invoking http://localhost:34857 with statusCode: 500
        at 
org.apache.camel.component.vertx.http.DefaultVertxHttpBinding.handleResponseFailure(DefaultVertxHttpBinding.java:267)
        at 
org.apache.camel.component.vertx.http.DefaultVertxHttpBinding.handleResponse(DefaultVertxHttpBinding.java:163)
        at 
org.apache.camel.component.vertx.http.VertxHttpProducer.lambda$2(VertxHttpProducer.java:163)
        ...(9 remaining lines not displayed - this can be changed with 
Assertions.setMaxStackTraceElementsDisplayed)
        at 
org.apache.camel.component.vertx.http.VertxHttpTransferExceptionTest.testTransferException(VertxHttpTransferExceptionTest.java:36)

{noformat}

> VertxHttpTransferExceptionTest.testTransferException is failing
> ---------------------------------------------------------------
>
>                 Key: CAMEL-23734
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23734
>             Project: Camel
>          Issue Type: Test
>          Components: camel-vertx-http
>    Affects Versions: 4.20.0
>            Reporter: Aurélien Pupier
>            Assignee: Aurélien Pupier
>            Priority: Minor
>
> {noformat}
> org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
>       at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:190)
>       at 
> org.apache.camel.component.vertx.http.VertxHttpTransferExceptionTest.testTransferException(VertxHttpTransferExceptionTest.java:37)
> {noformat}
> it has failed on all 5 combination in last jenkins job, so should be due to 
> one of these commits:
> chore(deps): Bump spring-security-version from 7.0.5 to 7.1.0 (#23895) 
> (details)
> chore(deps): Bump aws-java-sdk2-version from 2.46.6 to 2.46.7 (#23896) 
> (details)
> chore(deps): Bump com.mchange:c3p0 from 0.14.0 to 0.14.1 (#23900) (details)
> chore(deps-dev): Bump org.hibernate.orm:hibernate-core (#23899) (details)
> chore(deps): Bump io.camunda:zeebe-client-java from 8.9.6 to 8.9.7 (#23898) 
> (details)
> chore(deps): Bump io.camunda:camunda-client-java from 8.9.6 to 8.9.7 (#23901) 
> (details)
> CAMEL-23716: docs - sync camel-salesforce 4.18 / 4.14 upgrade-guide entries 
> to main (#23903) (details)
> CAMEL-23719: camel-micrometer - when ProducerTemplate sends to a SEDA 
> endpoint, Exchange.getFromRouteId() returns null (#23864) (details)
> CAMEL-19540: camel-pulsar - replace Thread.sleep in tests (#23902) (details)
> CAMEL-23635: camel-jbang - Add shell panel to TUI (#23605) (details)
> CAMEL-23635: camel-jbang - Fix ArrayIndexOutOfBoundsException in TUI shell 
> panel (details)
> CAMEL-23630: Document camel-dapr consumer header change in 4.14 upgrade guide 
> (#23907) (details)
> chore(deps): Bump spring-ws-version from 5.0.1 to 5.0.2 (#23897) (details)
> CAMEL-23695: Remove chatRequestTransformer workaround for structured output 
> (#23906) (details)
> CAMEL-23683: add camel-shell component (details)
> CAMEL-23481: Replace retired Apache Derby in Camel (details)
> CAMEL-23317 - clean test setup RawMailMessageTest (details)
> CAMEL-23728: camel-jbang - Fix Vertex AI model mapping and error handling 
> (#23910) (details)
> CAMEL-23727: camel-jbang - TUI shell panel improvements (#23915) (details)
> Fix broken xref links after Camel CLI documentation restructuring (details)
> CAMEL-23651: align muteException default in netty-http and undertow (details)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to