From bf67680f4bb7f6d748807a4f75a4e3c40ce6f870 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Wed, 3 Jan 2018 16:11:12 -0500 Subject: [PATCH] Fix management port property to align with Boot 2.0 --- .../netflix/eureka/EurekaClientAutoConfigurationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfigurationTests.java b/spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfigurationTests.java index 86cac4dd..913f73d9 100644 --- a/spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfigurationTests.java +++ b/spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfigurationTests.java @@ -307,7 +307,7 @@ public class EurekaClientAutoConfigurationTests { @Test public void statusPageAndHealthCheckUrlsShouldSetUserDefinedIpAddress() { addEnvironment(this.context, "server.port=8989", - "management.port=9999", "eureka.instance.hostname=foo", + "management.server.port=9999", "eureka.instance.hostname=foo", "eureka.instance.ipAddress:192.168.13.90", "eureka.instance.preferIpAddress:true");