Aurélien Pupier created CAMEL-26380:
---------------------------------------
Summary: Fix flaky test NettyHttpBasicAuthConstraintDotSegmentTest
Key: CAMEL-26380
URL: https://issues.apache.org/jira/browse/CAMEL-26380
Project: Camel
Issue Type: Test
Components: camel-netty-http
Affects Versions: 4.24.0
Reporter: Aurélien Pupier
[this test introduced 5 days ago is very flaky: 1 failure and 50flaky
(41%)|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=*NettyHttpBasicAuthConstraintDotSegmentTest]
{noformat}
org.opentest4j.AssertionFailedError: Object should be of type
org.apache.camel.component.netty.http.NettyHttpOperationFailedException but
was: org.apache.camel.CamelExchangeException: No response received from remote
server: localhost:41407. Exchange[] with the type:
org.apache.camel.CamelExchangeException ==> expected: <true> but was: <false>
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)
at
org.apache.camel.test.junit6.TestSupport.assertIsInstanceOf(TestSupport.java:127)
at
org.apache.camel.component.netty.http.NettyHttpBasicAuthConstraintDotSegmentTest.assertStatus(NettyHttpBasicAuthConstraintDotSegmentTest.java:127)
at
org.apache.camel.component.netty.http.NettyHttpBasicAuthConstraintDotSegmentTest.pathParameterIsRejected(NettyHttpBasicAuthConstraintDotSegmentTest.java:103)
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)