Skip to content

Commit 6329d88

Browse files
authored
Fix sample tests to avoid metrics/mongo startup failures (#3122)
Signed-off-by: keyu lu <minizhiren@outlook.com>
1 parent f9075f1 commit 6329d88

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Micrometer's global registry can introduce nondeterministic state between tests.
2+
# These sample tests do not verify metrics, so we disable global metric/tracing registration.
3+
management.metrics.use-global-registry=false
4+
management.metrics.export.simple.enabled=false
5+
management.observations.enabled=false
6+
management.tracing.enabled=false

0 commit comments

Comments
 (0)