diff --git a/server/etcdmain/config_test.go b/server/etcdmain/config_test.go index 62c0f2ae4fb..85cdc69eb08 100644 --- a/server/etcdmain/config_test.go +++ b/server/etcdmain/config_test.go @@ -752,6 +752,7 @@ func TestConfigFileDeprecatedOptions(t *testing.T) { ExperimentalCompactHashCheckEnabled bool `json:"experimental-compact-hash-check-enabled,omitempty"` ExperimentalCompactHashCheckTime time.Duration `json:"experimental-compact-hash-check-time,omitempty"` ExperimentalWarningUnaryRequestDuration time.Duration `json:"experimental-warning-unary-request-duration,omitempty"` + ExperimentalCorruptCheckTime time.Duration `json:"experimental-corrupt-check-time,omitempty"` } testCases := []struct { @@ -770,10 +771,12 @@ func TestConfigFileDeprecatedOptions(t *testing.T) { ExperimentalCompactHashCheckEnabled: true, ExperimentalCompactHashCheckTime: 2 * time.Minute, ExperimentalWarningUnaryRequestDuration: time.Second, + ExperimentalCorruptCheckTime: time.Minute, }, expectedFlags: map[string]struct{}{ "experimental-compact-hash-check-enabled": {}, "experimental-compact-hash-check-time": {}, + "experimental-corrupt-check-time": {}, }, }, {