Skip to content

Commit 6e8481b

Browse files
committed
Remove sleep that appears to no longer be needed
Closes gh-45404
1 parent 08857b4 commit 6e8481b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

module/spring-boot-jersey/src/test/java/org/springframework/boot/jersey/autoconfigure/metrics/JerseyServerMetricsAutoConfigurationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ void shouldProvideAllNecessaryBeans() {
8484
void httpRequestsAreTimed() {
8585
this.webContextRunner.withUserConfiguration(MetricsConfiguration.class).run((context) -> {
8686
doRequest(context);
87-
Thread.sleep(500);
8887
MeterRegistry registry = context.getBean(MeterRegistry.class);
8988
Timer timer = registry.get("http.server.requests").tag("uri", "/users/{id}").timer();
9089
assertThat(timer.count()).isOne();

0 commit comments

Comments
 (0)