diff options
-rw-r--r-- | middleware/etcd/lookup_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/etcd/lookup_test.go b/middleware/etcd/lookup_test.go index 1a42b5c98..010bd66df 100644 --- a/middleware/etcd/lookup_test.go +++ b/middleware/etcd/lookup_test.go @@ -222,7 +222,7 @@ var dnsTestCases = []test.Case{ } func newEtcdMiddleware() *Etcd { - ctxt, _ = context.WithTimeout(context.Background(), etcdTimeout) + ctxt = context.TODO() endpoints := []string{"http://localhost:2379"} tlsc, _ := tls.NewTLSConfigFromArgs() |