Skip to content

Commit

Permalink
adding env var (#14958)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshya96 committed Apr 7, 2022
1 parent e7b5b2a commit c22a584
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion command/operator_diagnose_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"strings"
"testing"

"github.com/hashicorp/vault/sdk/helper/consts"
"github.com/hashicorp/vault/vault/diagnose"
"github.com/mitchellh/cli"
)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit c22a584

Please sign in to comment.