You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2023/03/22 14:30:37 UTC

[GitHub] [camel-quarkus] jamesnetherton commented on a diff in pull request #4687: Upgrade Quarkus to 3.0.0.Beta1

jamesnetherton commented on code in PR #4687:
URL: https://github.com/apache/camel-quarkus/pull/4687#discussion_r1144909100


##########
integration-tests/opentelemetry/src/test/java/org/apache/camel/quarkus/component/opentelemetry/it/OpenTelemetryTest.java:
##########
@@ -56,6 +58,7 @@ public void testTraceRoute() {
         }
 
         // Retrieve recorded spans
+        await().atMost(30, TimeUnit.SECONDS).pollDelay(50, TimeUnit.MILLISECONDS).until(() -> getSpans().size() == 5);
         List<Map<String, String>> spans = getSpans();

Review Comment:
   Yes, I did consider that. But left them in to be extra paranoid in case something miraculously changed in between the await and re-fetching the spans. 



-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org