From cf7d8078aa6acc1efe8bd8de210d3f95b6c42ddb Mon Sep 17 00:00:00 2001 From: DOHA Date: Thu, 26 Jan 2017 13:27:20 +0200 Subject: [PATCH] change server port --- .../src/test/java/org/baeldung/RestApiLiveTest.java | 2 +- .../src/test/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/java/org/baeldung/RestApiLiveTest.java b/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/java/org/baeldung/RestApiLiveTest.java index 022648ffa1..1899385e2a 100644 --- a/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/java/org/baeldung/RestApiLiveTest.java +++ b/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/java/org/baeldung/RestApiLiveTest.java @@ -22,7 +22,7 @@ import org.springframework.test.context.junit4.SpringRunner; @SpringBootTest(classes = { SpringCloudRestClientApplication.class }, webEnvironment = WebEnvironment.DEFINED_PORT) public class RestApiLiveTest { - private static final String API_URI = "http://localhost:8084/reviews"; + private static final String API_URI = "http://localhost:8085/reviews"; @Before public void setUp() { diff --git a/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/resources/application.properties b/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/resources/application.properties index ece9ca1d94..e69cb2f555 100644 --- a/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/resources/application.properties +++ b/spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/resources/application.properties @@ -1,6 +1,6 @@ #### cloud spring.application.name=spring-cloud-eureka-client -server.port=8084 +server.port=8085 eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://system:systemPass@localhost:8761/eureka} eureka.instance.preferIpAddress=true