functional-tester: set gRPC endpoint for stresser

This commit is contained in:
Gyu-Ho Lee
2016-03-23 15:23:19 -07:00
parent ca5dff6682
commit 012143e703

View File

@ -88,6 +88,7 @@ func (c *cluster) Bootstrap() error {
if err != nil { if err != nil {
return err return err
} }
grpcURLs[i] = fmt.Sprintf("%s:2379", host)
clientURLs[i] = fmt.Sprintf("http://%s:2379", host) clientURLs[i] = fmt.Sprintf("http://%s:2379", host)
peerURLs[i] = fmt.Sprintf("http://%s:%d", host, peerURLPort) peerURLs[i] = fmt.Sprintf("http://%s:%d", host, peerURLPort)