From f228f6a0020bdcda4328738f293ed57143cf931c Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Mon, 27 Nov 2017 09:39:22 -0800 Subject: [PATCH 1/2] e2e: enable initialCorruptCheck by default Signed-off-by: Gyu-Ho Lee --- e2e/ctl_v3_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/ctl_v3_test.go b/e2e/ctl_v3_test.go index f16a14fc2..396e6c184 100644 --- a/e2e/ctl_v3_test.go +++ b/e2e/ctl_v3_test.go @@ -82,6 +82,7 @@ func (cx *ctlCtx) applyOpts(opts []ctlOption) { for _, opt := range opts { opt(cx) } + cx.initialCorruptCheck = true } func withCfg(cfg etcdProcessClusterConfig) ctlOption { From a20b24be7b1c812cc6eeac6c688b535da75c450a Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Mon, 27 Nov 2017 09:41:53 -0800 Subject: [PATCH 2/2] etcd-tester: enable initial corrupt check by default Signed-off-by: Gyu-Ho Lee --- tools/functional-tester/etcd-tester/member.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/functional-tester/etcd-tester/member.go b/tools/functional-tester/etcd-tester/member.go index 64aa5ca12..d8567f2dd 100644 --- a/tools/functional-tester/etcd-tester/member.go +++ b/tools/functional-tester/etcd-tester/member.go @@ -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", } }