Skip to content

Commit

Permalink
Try fixing flaky test.
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Maciaszek-Sharma <olga.maciaszek-sharma@broadcom.com>
  • Loading branch information
OlgaMaciaszek committed Jan 16, 2025
1 parent 21cac3f commit bd38ceb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.netflix.eureka.server.metrics.EurekaInstanceMonitor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;

import static java.util.concurrent.TimeUnit.MILLISECONDS;
import static java.util.concurrent.TimeUnit.SECONDS;
Expand Down Expand Up @@ -170,6 +171,7 @@ private void assertEurekaInstance(Map<Tags, Long> meterRegistryCounts) {
@Configuration(proxyBeanMethods = false)
@EnableAutoConfiguration
@EnableEurekaServer
@RestController
protected static class Application {

}
Expand Down

0 comments on commit bd38ceb

Please sign in to comment.