functional-tester/cmd/etcd-tester: check error from "Bootstrap"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-03-30 12:01:27 -07:00
parent c1a8c73f9a
commit 194cdede89

View File

@ -45,6 +45,9 @@ func main() {
}
err = clus.Bootstrap()
if err != nil {
logger.Fatal("Bootstrap failed", zap.Error(err))
}
defer clus.DestroyEtcdAgents()
err = clus.WaitHealth()