Merge pull request #8922 from gyuho/corrupt-check

*: enable initial corrupt check in tests
This commit is contained in:
Gyu-Ho Lee 2017-11-27 10:37:39 -08:00 committed by GitHub
commit bdff651428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func (cx *ctlCtx) applyOpts(opts []ctlOption) {
for _, opt := range opts {
opt(cx)
}
cx.initialCorruptCheck = true
}
func withCfg(cfg etcdProcessClusterConfig) ctlOption {

View File

@ -47,6 +47,7 @@ func (m *member) Flags() []string {
"--listen-peer-urls", m.PeerURL,
"--initial-advertise-peer-urls", m.PeerURL,
"--initial-cluster-state", "new",
"--experimental-initial-corrupt-check",
}
}