diff --git a/pkg/etcd/etcd.go b/pkg/etcd/etcd.go index 09c43e3ca7..b4430ff5c8 100644 --- a/pkg/etcd/etcd.go +++ b/pkg/etcd/etcd.go @@ -53,7 +53,7 @@ import ( ) const ( - testTimeout = time.Second * 10 + testTimeout = time.Second * 30 manageTickerTime = time.Second * 15 learnerMaxStallTime = time.Minute * 5 memberRemovalTimeout = time.Minute * 1 @@ -933,7 +933,7 @@ func (e *ETCD) manageLearners(ctx context.Context) { defer t.Stop() for range t.C { - ctx, cancel := context.WithTimeout(ctx, testTimeout) + ctx, cancel := context.WithTimeout(ctx, manageTickerTime) defer cancel() // Check to see if the local node is the leader. Only the leader should do learner management.