Skip to content

Commit

Permalink
Change IP address of eureka servers
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansb committed Nov 15, 2015
1 parent fec96e9 commit c4bac30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/config_sample/local.gcfg
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions tests/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit c4bac30

Please sign in to comment.