mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
adding env var (#14958)
This commit is contained in:
parent
e7b5b2a48d
commit
c22a584a40
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/vault/sdk/helper/consts"
|
||||
"github.com/hashicorp/vault/vault/diagnose"
|
||||
"github.com/mitchellh/cli"
|
||||
)
|
||||
|
|
@ -478,7 +479,7 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
|
|||
t.Parallel()
|
||||
client, closer := testVaultServer(t)
|
||||
defer closer()
|
||||
|
||||
os.Setenv(consts.VaultDisableFilePermissionsCheckEnv, "true")
|
||||
cmd := testOperatorDiagnoseCommand(t)
|
||||
cmd.client = client
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue