Skip to content

Commit

Permalink
backport of commit 05d13ac (#14612)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>
  • Loading branch information
hc-github-team-secure-vault-core and victorr committed Mar 21, 2022
1 parent e193475 commit e0dfb2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdk/database/dbplugin/v5/testing/test_helpers.go
Expand Up @@ -12,7 +12,11 @@ import (
func getRequestTimeout(t *testing.T) time.Duration {
rawDur := os.Getenv("VAULT_TEST_DATABASE_REQUEST_TIMEOUT")
if rawDur == "" {
return 5 * time.Second
// Note: we incremented the default timeout from 5 to 10 seconds in a bid
// to fix sporadic failures of mssql_test.go tests TestInitialize() and
// TestUpdateUser_password().

return 10 * time.Second
}

dur, err := time.ParseDuration(rawDur)
Expand Down

0 comments on commit e0dfb2d

Please sign in to comment.