Fix management port property to align with Boot 2.0

This commit is contained in:
Ryan Baxter
2018-01-03 16:11:12 -05:00
parent b24a0524ed
commit bf67680f4b

View File

@@ -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");