mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
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`.
This commit is contained in:
parent
3852ac79c4
commit
cf208cfaa3
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue