Merge pull request #28492 from izeye
* pr/28492: Fix whenThereIsNoMeterRegistryThenClientResourcesCustomizationBacksOff() Closes gh-28492
This commit is contained in:
commit
83e4430512
|
@ -53,7 +53,7 @@ class LettuceMetricsAutoConfigurationTests {
|
|||
void whenThereIsNoMeterRegistryThenClientResourcesCustomizationBacksOff() {
|
||||
this.contextRunner.withConfiguration(AutoConfigurations.of(RedisAutoConfiguration.class)).run((context) -> {
|
||||
ClientResources clientResources = context.getBean(LettuceConnectionFactory.class).getClientResources();
|
||||
assertThat(clientResources.commandLatencyRecorder().isEnabled())
|
||||
assertThat(clientResources.commandLatencyRecorder())
|
||||
.isNotInstanceOf(MicrometerCommandLatencyRecorder.class);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue