From 7f122b921deacc73d1bf045e15a996fc2e473090 Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Fri, 7 Feb 2025 15:38:40 +0100 Subject: [PATCH] Temporarily disable flaky tests. Signed-off-by: Olga Maciaszek-Sharma --- .../EurekaInstanceMonitorWithCustomTagsProviderTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/EurekaInstanceMonitorWithCustomTagsProviderTests.java b/spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/EurekaInstanceMonitorWithCustomTagsProviderTests.java index 7632e1f70..6fe7e1319 100644 --- a/spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/EurekaInstanceMonitorWithCustomTagsProviderTests.java +++ b/spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/EurekaInstanceMonitorWithCustomTagsProviderTests.java @@ -22,6 +22,7 @@ import com.netflix.appinfo.InstanceInfo; import io.micrometer.core.instrument.MeterRegistry; import io.micrometer.core.instrument.Tags; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; @@ -40,12 +41,14 @@ import static org.awaitility.pollinterval.FibonacciPollInterval.fibonacci; import static org.springframework.cloud.netflix.eureka.server.EurekaInstanceFixture.getInstanceInfo; import static org.springframework.cloud.netflix.eureka.server.EurekaInstanceFixture.getLeaseInfo; +//FIXME: fix flaky test /** * Tests for {@link EurekaInstanceMonitor} with custom tags provider. * * @author Wonchul Heo * @author Olga Maciaszek-Sharma */ +@Disabled @SpringBootTest(classes = EurekaInstanceMonitorWithCustomTagsProviderTests.Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, value = { "spring.application.name=eureka", "eureka.server.metrics.enabled=true" })