-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
Hi 🌞 Switching to quarkus-micrometer-opentelemetry extension, I found no bugs in the normal usage of the extension (amazing with LGTM devservice 🤩 ) but I have a strange behaviour in "@QuarkusTest" when trying to assert gauge values in a MeterRegistry.
I made a lot tests but I always have random successes and fails asserting a gauge value in a meterRegistry.
Expected behavior
No Flakyness inside the QuarkusTests when asserting a gauge Value in a meterRegistry.
Actual behavior
Flaky tests
How to Reproduce?
Here is a repository where I reproduced this issue : https://github.com/fbecar22/otel-micrometer-quarkustest-bug
The flaky test is located here : https://github.com/fbecar22/otel-micrometer-quarkustest-bug/blob/main/src/test/java/fr/fbecar22/MetricsRegistrationTest.java
Output of uname -a or ver
Darwin FRL-C02GX0N8Q6LW 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:32:43 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T8103 arm64
Output of java -version
21
Quarkus version or git rev
3.22.3<
Build tool (ie. output of mvnw --version or gradlew --version)
mvn 3.9.8
Additional information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status