Explorar o código

etcd-tester: use 10K for '--snapshot-count'

Since we want to send snapshot more often in failure injected cluster
Gyu-Ho Lee %!s(int64=9) %!d(string=hai) anos
pai
achega
6f9a20803c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      tools/functional-tester/etcd-tester/cluster.go

+ 2 - 1
tools/functional-tester/etcd-tester/cluster.go

@@ -80,7 +80,8 @@ func (c *cluster) bootstrap() error {
 			m.Flags(),
 			"--data-dir", c.agents[i].datadir,
 			"--initial-cluster-token", token,
-			"--initial-cluster", clusterStr)
+			"--initial-cluster", clusterStr,
+			"--snapshot-count", "10000")
 
 		if _, err := m.Agent.Start(flags...); err != nil {
 			// cleanup