Adapt to SampleTestRunner refactor.

See: micrometer-metrics/tracing#57
Closes: #4159
This commit is contained in:
Tommy Ludwig
2022-09-09 18:15:06 +09:00
committed by Christoph Strobl
parent 6197655e98
commit 36ddd26edc

View File

@@ -86,7 +86,17 @@ public class ZipkinIntegrationTests extends SampleTestRunner {
@Autowired PersonRepository repository;
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