mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Don't override MaxWait, its default is good for CI (#9478)
This commit is contained in:
parent
86c5d39c31
commit
c68ab7bfaa
1 changed files with 1 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ import (
|
|||
|
||||
"github.com/hashicorp/vault/api"
|
||||
"github.com/hashicorp/vault/helper/testhelpers/docker"
|
||||
"github.com/hashicorp/vault/sdk/logical"
|
||||
logicaltest "github.com/hashicorp/vault/helper/testhelpers/logical"
|
||||
"github.com/hashicorp/vault/sdk/logical"
|
||||
"github.com/hashicorp/vault/vault"
|
||||
"github.com/mitchellh/mapstructure"
|
||||
"github.com/ory/dockertest"
|
||||
|
|
@ -149,7 +149,6 @@ func prepareTestContainer(t *testing.T, tag, caPublicKeyPEM string) (func(), str
|
|||
sshAddress := fmt.Sprintf("127.0.0.1:%s", resource.GetPort("2222/tcp"))
|
||||
|
||||
// exponential backoff-retry
|
||||
pool.MaxWait = 10 * time.Second
|
||||
if err = pool.Retry(func() error {
|
||||
// Install util-linux for non-busybox flock that supports timeout option
|
||||
return testSSH(t, "vaultssh", sshAddress, ssh.PublicKeys(signer), fmt.Sprintf(`
|
||||
|
|
|
|||
Loading…
Reference in a new issue