Browse Source

Fix management port property to align with Boot 2.0

pull/6/head
Ryan Baxter 7 years ago
parent
commit
bf67680f4b
  1. 2
      spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfigurationTests.java

2
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfigurationTests.java

@ -307,7 +307,7 @@ public class EurekaClientAutoConfigurationTests { @@ -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");

Loading…
Cancel
Save