Try a 5s request timeout (#11738)

This commit is contained in:
Scott Miller
2021-06-01 12:24:33 -05:00
committed by GitHub
parent c706ca2cc9
commit f43802d75a
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ import (
func getRequestTimeout(t *testing.T) time.Duration {
rawDur := os.Getenv("VAULT_TEST_DATABASE_REQUEST_TIMEOUT")
if rawDur == "" {
return 2 * time.Second
return 5 * time.Second
}
dur, err := time.ParseDuration(rawDur)

View File

@@ -12,7 +12,7 @@ import (
func getRequestTimeout(t *testing.T) time.Duration {
rawDur := os.Getenv("VAULT_TEST_DATABASE_REQUEST_TIMEOUT")
if rawDur == "" {
return 2 * time.Second
return 5 * time.Second
}
dur, err := time.ParseDuration(rawDur)