[
https://issues.apache.org/jira/browse/CAMEL-26373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aurélien Pupier updated CAMEL-26373:
------------------------------------
Description:
[it failed 4 times and was flaky 20 time sin last 90
days|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*OpenTelemetryRoutePolicyTest]
{noformat}
org.opentest4j.AssertionFailedError: max value ==> expected: <true> but was:
<false>
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)
at
org.apache.camel.opentelemetry.metrics.routepolicy.OpenTelemetryRoutePolicyTest.verifyHistogramMetric(OpenTelemetryRoutePolicyTest.java:62)
at
org.apache.camel.opentelemetry.metrics.routepolicy.OpenTelemetryRoutePolicyTest.testMetricsRoutePolicy(OpenTelemetryRoutePolicyTest.java:53)
{noformat}
{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}
was:
[it failed 4 times and was flaky 20 time sin last 90
days|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*OpenTelemetryRoutePolicyTest]
{noformat}
org.opentest4j.AssertionFailedError: max value ==> expected: <true> but was:
<false>
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)
at
org.apache.camel.opentelemetry.metrics.routepolicy.OpenTelemetryRoutePolicyTest.verifyHistogramMetric(OpenTelemetryRoutePolicyTest.java:62)
at
org.apache.camel.opentelemetry.metrics.routepolicy.OpenTelemetryRoutePolicyTest.testMetricsRoutePolicy(OpenTelemetryRoutePolicyTest.java:53)
{noformat}
> Fix flaky test OpenTelemetryRoutePolicyTest
> -------------------------------------------
>
> Key: CAMEL-26373
> URL: https://issues.apache.org/jira/browse/CAMEL-26373
> Project: Camel
> Issue Type: Test
> Components: camel-opentelemetry
> Affects Versions: 4.24.0
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Priority: Major
> Fix For: 4.24.0
>
>
> [it failed 4 times and was flaky 20 time sin last 90
> days|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*OpenTelemetryRoutePolicyTest]
> {noformat}
> org.opentest4j.AssertionFailedError: max value ==> expected: <true> but was:
> <false>
> at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)
> at
> org.apache.camel.opentelemetry.metrics.routepolicy.OpenTelemetryRoutePolicyTest.verifyHistogramMetric(OpenTelemetryRoutePolicyTest.java:62)
> at
> org.apache.camel.opentelemetry.metrics.routepolicy.OpenTelemetryRoutePolicyTest.testMetricsRoutePolicy(OpenTelemetryRoutePolicyTest.java:53)
> {noformat}
> {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)