Skip to content

Commit

Permalink
use shared testing var
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrannosaurus-becks committed Dec 10, 2019
1 parent 6801ae7 commit 13dfdc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin/credential/aws/path_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/go-test/deep"
"github.com/hashicorp/vault/helper/awsutil"
vlttesting "github.com/hashicorp/vault/helper/testhelpers/logical"
"github.com/hashicorp/vault/sdk/helper/policyutil"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/logical"
Expand Down Expand Up @@ -994,7 +995,7 @@ func TestAwsVersion(t *testing.T) {
// passing, rather than the region being randomly chosen tying to the one in the
// test through luck.
func TestRoleResolutionWithSTSEndpointConfigured(t *testing.T) {
if enabled := os.Getenv("VAULT_ACC"); enabled == "" {
if enabled := os.Getenv(vlttesting.TestEnvVar); enabled == "" {
t.Skip()
}

Expand Down

0 comments on commit 13dfdc1

Please sign in to comment.