From aef2a81c5168daefedf748d5006ec73419501461 Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Thu, 2 Mar 2023 11:35:45 +0000 Subject: [PATCH] Run thenApplyAsync with custom executor in OpenTelemetryMpContextPropagationTest --- .../propagation/OpenTelemetryMpContextPropagationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/propagation/OpenTelemetryMpContextPropagationTest.java b/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/propagation/OpenTelemetryMpContextPropagationTest.java index 15eab26a170ce..f9c32352e47a8 100644 --- a/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/propagation/OpenTelemetryMpContextPropagationTest.java +++ b/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/propagation/OpenTelemetryMpContextPropagationTest.java @@ -61,7 +61,7 @@ public CompletionStage helloWithCustomExecutor() { return this.threadContext .withContextCapture(CompletableFuture.supplyAsync( () -> message, this.customExecutorService)) - .thenApplyAsync(msg -> msg + "-" + Span.current().getSpanContext().getTraceId()); + .thenApplyAsync(msg -> msg + "-" + Span.current().getSpanContext().getTraceId(), customExecutorService); } } }