diff --git a/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/common/exporter/TestSpanExporter.java b/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/common/exporter/TestSpanExporter.java index c55856ea52c1e..7c0fbf5a3fbb5 100644 --- a/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/common/exporter/TestSpanExporter.java +++ b/extensions/opentelemetry/deployment/src/test/java/io/quarkus/opentelemetry/deployment/common/exporter/TestSpanExporter.java @@ -69,7 +69,7 @@ public void assertSpanCount(int spanCount) { public void assertSpanAtLeast(int spanCount) { await().atMost(5, SECONDS).untilAsserted( - () -> assertTrue(spanCount < finishedSpanItems.size(), "Spans: " + finishedSpanItems.toString())); + () -> assertTrue(spanCount <= finishedSpanItems.size(), "Spans: " + finishedSpanItems.toString())); } public void reset() {