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

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
release-3.4
Gyuho Lee 2018-03-30 12:01:27 -07:00
parent c1a8c73f9a
commit 194cdede89
1 changed files with 3 additions and 0 deletions

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()