Skip to content

Commit

Permalink
Fix whenThereIsNoMeterRegistryThenClientResourcesCustomizationBacksOff()
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and snicoll committed Nov 1, 2021
1 parent f71e219 commit 3e1bc01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void whenThereIsAMeterRegistryThenCommandLatencyRecorderIsAdded() {
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);
});
}
Expand Down

0 comments on commit 3e1bc01

Please sign in to comment.