Skip to content

Commit

Permalink
NonXXX tests should pass when actually running in their respective en…
Browse files Browse the repository at this point in the history
…vironments.

Fixes hashicorp#224
  • Loading branch information
dimfeld committed Oct 7, 2015
1 parent 983e851 commit a55bdd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/fingerprint/env_aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
)

func TestEnvAWSFingerprint_nonAws(t *testing.T) {
os.Setenv("AWS_ENV_URL", "http://127.0.0.1/latest/meta-data/")
f := NewEnvAWSFingerprint(testLogger())
node := &structs.Node{
Attributes: make(map[string]string),
Expand Down
1 change: 1 addition & 0 deletions client/fingerprint/env_gce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
)

func TestGCEFingerprint_nonGCE(t *testing.T) {
os.Setenv("GCE_ENV_URL", "http://127.0.0.1/computeMetadata/v1/instance/")
f := NewEnvGCEFingerprint(testLogger())
node := &structs.Node{
Attributes: make(map[string]string),
Expand Down

0 comments on commit a55bdd3

Please sign in to comment.