Browse Source

Merge pull request #1817 from ryanjbaxter/use-valid-hostnames-in-feign-tests

Use valid hostnames in feign tests
pull/6/head
Ryan Baxter 8 years ago committed by GitHub
parent
commit
711a8f0aae
  1. 6
      spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/feign/ribbon/FeignRibbonClientRetryTests.java

6
spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/feign/ribbon/FeignRibbonClientRetryTests.java

@ -138,9 +138,9 @@ class LocalRibbonClientConfiguration { @@ -138,9 +138,9 @@ class LocalRibbonClientConfiguration {
@Bean
public ServerList<Server> ribbonServerList() {
return new StaticServerList<>(new Server("___mybadhost__", 10001),
new Server("___mybadhost2__", 10002),
new Server("___mybadhost3__", 10003), new Server("localhost", this.port));
return new StaticServerList<>(new Server("mybadhost", 80),
new Server("mybadhost2", 10002),
new Server("mybadhost3", 10003), new Server("localhost", this.port));
}
}

Loading…
Cancel
Save