From 0298ab0d863aaff2a0b670f257ec06ea026fabdf Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Fri, 6 Dec 2024 12:47:41 +0100 Subject: [PATCH] Increase test timeout. --- .../EurekaInstanceMonitorWithCustomTagsProviderTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c7ea689dc..3feabec88 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 @@ -89,7 +89,7 @@ class EurekaInstanceMonitorWithCustomTagsProviderTests { } private void assertEurekaInstance(Map meterRegistryCounts) { - await().atMost(5, SECONDS) + await().atMost(10, SECONDS) .pollInterval(fibonacci()) .untilAsserted(() -> meterRegistryCounts.forEach((tags, count) -> assertThat((long) meterRegistry.get("eureka.server.instances").tags(tags).gauge().value())