mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
functional-tester/cmd/etcd-tester: check error from "Bootstrap"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
c1a8c73f9a
commit
194cdede89
@ -45,6 +45,9 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
err = clus.Bootstrap()
|
err = clus.Bootstrap()
|
||||||
|
if err != nil {
|
||||||
|
logger.Fatal("Bootstrap failed", zap.Error(err))
|
||||||
|
}
|
||||||
defer clus.DestroyEtcdAgents()
|
defer clus.DestroyEtcdAgents()
|
||||||
|
|
||||||
err = clus.WaitHealth()
|
err = clus.WaitHealth()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user