Fix typos in code and documentation
See gh-31734
This commit is contained in:
committed by
Phillip Webb
parent
4bcec6e0ee
commit
dbfc6bded4
@@ -84,9 +84,9 @@ class StartupTimeMetricsListenerTests {
|
||||
Tags tags = Tags.of("foo", "bar");
|
||||
this.listener = new StartupTimeMetricsListener(this.registry, "started", "ready", tags);
|
||||
this.listener.onApplicationEvent(new ApplicationReadyEvent(application, null, null, Duration.ofSeconds(2)));
|
||||
TimeGauge applicationReadyGague = this.registry.find("ready").timeGauge();
|
||||
assertThat(applicationReadyGague).isNotNull();
|
||||
assertThat(applicationReadyGague.getId().getTags()).containsExactlyElementsOf(tags);
|
||||
TimeGauge applicationReadyGauge = this.registry.find("ready").timeGauge();
|
||||
assertThat(applicationReadyGauge).isNotNull();
|
||||
assertThat(applicationReadyGauge.getId().getTags()).containsExactlyElementsOf(tags);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user