mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
adding env var (#14958)
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/hashicorp/vault/sdk/helper/consts"
|
||||||
"github.com/hashicorp/vault/vault/diagnose"
|
"github.com/hashicorp/vault/vault/diagnose"
|
||||||
"github.com/mitchellh/cli"
|
"github.com/mitchellh/cli"
|
||||||
)
|
)
|
||||||
@@ -478,7 +479,7 @@ func TestOperatorDiagnoseCommand_Run(t *testing.T) {
|
|||||||
t.Parallel()
|
t.Parallel()
|
||||||
client, closer := testVaultServer(t)
|
client, closer := testVaultServer(t)
|
||||||
defer closer()
|
defer closer()
|
||||||
|
os.Setenv(consts.VaultDisableFilePermissionsCheckEnv, "true")
|
||||||
cmd := testOperatorDiagnoseCommand(t)
|
cmd := testOperatorDiagnoseCommand(t)
|
||||||
cmd.client = client
|
cmd.client = client
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user