Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
try sleeping when etcd test fails to add member
Browse files Browse the repository at this point in the history
  • Loading branch information
charless-splunk committed Dec 14, 2018
1 parent 7b1c905 commit be22ca9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main_test.go
Expand Up @@ -498,6 +498,7 @@ func startProxies(ctx context.Context, proxies []*proxy, logger *log.Hierarchy)
case err := <-mainDoneChan:
if err != nil {
p.etcdMgr.shutdown(false)
time.Sleep(time.Second * 2)
goto retry
}
}
Expand Down

0 comments on commit be22ca9

Please sign in to comment.