From c4bac306a69a14c30d10016c4dadb6aba690fd62 Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Sat, 14 Nov 2015 20:53:54 -0500 Subject: [PATCH] Change IP address of eureka servers --- tests/config_sample/local.gcfg | 4 ++-- tests/config_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/config_sample/local.gcfg b/tests/config_sample/local.gcfg index ebcd132..a344c4c 100644 --- a/tests/config_sample/local.gcfg +++ b/tests/config_sample/local.gcfg @@ -1,4 +1,4 @@ [Eureka] -ServiceUrls = http://172.16.0.11:8080/eureka/v2 -ServiceUrls = http://172.16.0.22:8080/eureka/v2 +ServiceUrls = http://172.17.0.2:8080/eureka/v2 +ServiceUrls = http://172.17.0.3:8080/eureka/v2 ConnectTimeoutSeconds = 2 diff --git a/tests/config_test.go b/tests/config_test.go index 4fc4940..0c77167 100644 --- a/tests/config_test.go +++ b/tests/config_test.go @@ -30,8 +30,8 @@ func TestConfigs(t *testing.T) { So(conf.Eureka.InTheCloud, ShouldEqual, false) So(conf.Eureka.ConnectTimeoutSeconds, ShouldEqual, 2) Convey("Both test servers should be in the service URL list", func() { - So(conf.Eureka.ServiceUrls, ShouldContain, "http://172.16.0.11:8080/eureka/v2") - So(conf.Eureka.ServiceUrls, ShouldContain, "http://172.16.0.22:8080/eureka/v2") + So(conf.Eureka.ServiceUrls, ShouldContain, "http://172.17.0.2:8080/eureka/v2") + So(conf.Eureka.ServiceUrls, ShouldContain, "http://172.17.0.3:8080/eureka/v2") }) So(conf.Eureka.UseDNSForServiceUrls, ShouldEqual, false) })