Skip to content

Commit

Permalink
fixed TestGetServers
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielerzinger authored and felipejfc committed Aug 15, 2018
1 parent 62fdd53 commit 4114def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/etcd_service_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func TestEtcdSDGetServers(t *testing.T) {
c, cli := helpers.GetTestEtcd(t)
defer c.Terminate(t)
e := getEtcdSD(t, config, &Server{}, cli)
e.bootstrapLease()
e.grantLease()
for _, server := range table.servers {
e.bootstrapServer(server)
}
Expand Down

0 comments on commit 4114def

Please sign in to comment.