adding env var (#14958)
This commit is contained in:
parent
23a3f950e4
commit
5e0ed27b87
|
@ -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 New Issue