Guillaume Nodet created CAMEL-23428:
---------------------------------------

             Summary: Flaky test: RabbitMQProducerInvalidExchangeIT in 
camel-spring-rabbitmq
                 Key: CAMEL-23428
                 URL: https://issues.apache.org/jira/browse/CAMEL-23428
             Project: Camel
          Issue Type: Bug
            Reporter: Guillaume Nodet


The test RabbitMQProducerInvalidExchangeIT.testProducer in 
camel-spring-rabbitmq is flaky on CI.

*Failure message:*
{noformat}
Unexpected type, expected: <com.rabbitmq.client.ShutdownSignalException> but 
was: <org.springframework.amqp.AmqpException>
{noformat}

at RabbitMQProducerInvalidExchangeIT.testProducer:53

The test passed on rerun (Run 2), so it is intermittent. The exception type 
assertion is brittle — Spring AMQP may wrap the underlying 
ShutdownSignalException in an AmqpException depending on timing.

*Observed in:* [GitHub Actions run 
25376798626|https://github.com/apache/camel/actions/runs/25376798626/job/74413951438]
 (PR #22957, JDK 17)



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

Reply via email to