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 eeb5498471
commit 221700fd24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)