From cf208cfaa32d7c2c64472cedc5140cae42f197bc Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Fri, 2 Oct 2020 09:53:05 -0600 Subject: [PATCH] Increase test http client timeout The timeout was increased to allow additional time for RBF to process a lot of individual `Set()` commands in `TestMain_RecalculateHashes`. --- test/pilosa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pilosa.go b/test/pilosa.go index be0aaa1fc..d7fdf7aaa 100644 --- a/test/pilosa.go +++ b/test/pilosa.go @@ -302,7 +302,7 @@ func Do(t *testing.T, method, urlStr string, body string) *httpResponse { // set a timeout instead of allowing gohttp.Defaultclient to // potentially hang forever. hc := &gohttp.Client{ - Timeout: time.Second * 10, + Timeout: time.Second * 30, } resp, err := hc.Do(req)