jbonofre opened a new pull request, #770: URL: https://github.com/apache/camel-karaf/pull/770
Follow-up to #769 (#768): ## Summary - **`CamelOpentelemetry2ITest`**: Merge `testCustomSpanIsExported` into `testResultMock` (matching the other `AbstractCamelSingleFeatureResultMockBasedRouteITest` feature tests). Since `AbstractCamelSingleFeatureResultMockBasedRouteITest` installs and uninstalls the feature/test bundle and triggers the producer route around each `@Test` method, a single `@Test` method avoids installing the feature twice and prevents the Pax Exam probe from remaining wired to the uninstalled first bundle revision across test methods. - **`CamelOpentelemetry2RouteSupplier`**: Override `cleanUp(CamelContext)` to remove the `OpenTelemetryTracer` service from the shared `supplied-route-launcher` context and close the `OpenTelemetrySdk` when the supplier unregisters. - Add missing trailing newlines in `tests/features/camel-opentelemetry2/pom.xml` and `.gitignore`. ## Test `mvn clean install -f tests/features/camel-opentelemetry2/pom.xml`: 1 test, 0 failures, 0 errors. _Antigravity on behalf of JB Onofré_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
