Skip to content

Commit b0ebac9

Browse files
shakuzenchristophstrobl
authored andcommitted
Adapt to SampleTestRunner refactor.
See: micrometer-metrics/tracing#57 Closes: #1303
1 parent 5a0a714 commit b0ebac9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

spring-data-cassandra/src/test/java/org/springframework/data/cassandra/observability/ZipkinIntegrationTests.java

+11-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,17 @@ public class ZipkinIntegrationTests extends SampleTestRunner {
6161
@Autowired CqlSession session;
6262

6363
ZipkinIntegrationTests() {
64-
super(SampleRunnerConfig.builder().build(), OBSERVATION_REGISTRY, METER_REGISTRY);
64+
super(SampleRunnerConfig.builder().build());
65+
}
66+
67+
@Override
68+
protected MeterRegistry createMeterRegistry() {
69+
return METER_REGISTRY;
70+
}
71+
72+
@Override
73+
protected ObservationRegistry createObservationRegistry() {
74+
return OBSERVATION_REGISTRY;
6575
}
6676

6777
@Override

0 commit comments

Comments
 (0)