Skip to content
/ etcd Public
forked from etcd-io/etcd

Commit

Permalink
integration: increase BootstrapTimeout
Browse files Browse the repository at this point in the history
Fix etcd-io#7267.

In slow CPU machine, it often takes more than 10ms, so times out.

Signed-off-by: Gyu-Ho Lee <[email protected]>
  • Loading branch information
gyuho committed May 4, 2017
1 parent 3b251b0 commit a3ff6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func mustNewMember(t *testing.T, mcfg memberConfig) *member {
}
m.InitialClusterToken = clusterName
m.NewCluster = true
m.BootstrapTimeout = 10 * time.Millisecond
m.BootstrapTimeout = time.Second
if m.PeerTLSInfo != nil {
m.ServerConfig.PeerTLSInfo = *m.PeerTLSInfo
}
Expand Down

0 comments on commit a3ff6cd

Please sign in to comment.