Skip to content

Commit

Permalink
cleaning up commented-out code in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McSweeney committed Mar 11, 2016
1 parent 4349165 commit b00e41d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion mgmt/rest/client/client_tribe_func_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ func startTribes(count int) []int {
mgtPort := getPort()
mgtPorts = append(mgtPorts, mgtPort)
tribePort := getPort()
// conf := tribe.DefaultConfig(fmt.Sprintf("member-%v", mgtPort), "127.0.0.1", tribePort, seed, mgtPort)
conf := tribe.GetDefaultConfig()
conf.Name = fmt.Sprintf("member-%v", mgtPort)
conf.BindAddr = "127.0.0.1"
Expand Down
1 change: 0 additions & 1 deletion mgmt/rest/tribe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ func startTribes(count int, seed string) ([]int, int) {
mgtPort := getAvailablePort()
mgtPorts = append(mgtPorts, mgtPort)
tribePort = getAvailablePort()
// conf := tribe.DefaultConfig(fmt.Sprintf("member-%v", mgtPort), "127.0.0.1", tribePort, seed, mgtPort)
conf := tribe.GetDefaultConfig()
conf.Name = fmt.Sprintf("member-%v", mgtPort)
conf.BindAddr = "127.0.0.1"
Expand Down

0 comments on commit b00e41d

Please sign in to comment.