From d9d798d1f1a99d5607119f6eb764061d4c39ba44 Mon Sep 17 00:00:00 2001 From: W Anders Date: Mon, 6 May 2024 17:53:30 -0600 Subject: [PATCH] increased test client timeout --- netboxdns_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netboxdns_test.go b/netboxdns_test.go index 5da7dd7..8d2e0ec 100644 --- a/netboxdns_test.go +++ b/netboxdns_test.go @@ -6,6 +6,7 @@ import ( "net/http" "net/url" "testing" + "time" "github.com/coredns/coredns/plugin/pkg/dnstest" "github.com/coredns/coredns/plugin/test" @@ -44,7 +45,7 @@ var netboxdnsPlugin NetboxDNS = NetboxDNS{ zones: []string{"."}, requestClient: &netbox.APIRequestClient{ Client: &http.Client{ - Timeout: defaultHTTPClientTimeout, + Timeout: time.Second * 30, }, NetboxURL: &url.URL{ Scheme: "http",