mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #8922 from gyuho/corrupt-check
*: enable initial corrupt check in tests
This commit is contained in:
commit
bdff651428
@ -82,6 +82,7 @@ func (cx *ctlCtx) applyOpts(opts []ctlOption) {
|
||||
for _, opt := range opts {
|
||||
opt(cx)
|
||||
}
|
||||
cx.initialCorruptCheck = true
|
||||
}
|
||||
|
||||
func withCfg(cfg etcdProcessClusterConfig) ctlOption {
|
||||
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user