Adapt to SampleTestRunner refactor.

See: micrometer-metrics/tracing#57
Closes: #1303
This commit is contained in:
Tommy Ludwig
2022-09-09 18:21:10 +09:00
committed by Christoph Strobl
parent 5a0a714c26
commit b0ebac9b44

View File

@@ -61,7 +61,17 @@ public class ZipkinIntegrationTests extends SampleTestRunner {
@Autowired CqlSession session;
ZipkinIntegrationTests() {
super(SampleRunnerConfig.builder().build(), OBSERVATION_REGISTRY, METER_REGISTRY);
super(SampleRunnerConfig.builder().build());
}
@Override
protected MeterRegistry createMeterRegistry() {
return METER_REGISTRY;
}
@Override
protected ObservationRegistry createObservationRegistry() {
return OBSERVATION_REGISTRY;
}
@Override