Kaynağa Gözat

tests/e2e: rename "SnapshotCount"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 yıl önce
ebeveyn
işleme
4ce10157ff
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      tests/e2e/cluster_test.go

+ 1 - 1
tests/e2e/cluster_test.go

@@ -176,7 +176,7 @@ func (cfg *etcdProcessClusterConfig) etcdServerProcessConfigs() []*etcdServerPro
 		cfg.execPath = binPath
 		cfg.execPath = binPath
 	}
 	}
 	if cfg.snapCount == 0 {
 	if cfg.snapCount == 0 {
-		cfg.snapCount = etcdserver.DefaultSnapCount
+		cfg.snapCount = etcdserver.DefaultSnapshotCount
 	}
 	}
 
 
 	etcdCfgs := make([]*etcdServerProcessConfig, cfg.clusterSize)
 	etcdCfgs := make([]*etcdServerProcessConfig, cfg.clusterSize)