mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 02:45:42 +03:00
TestNetworkFingerprint_notAWS passes even when actually on AWS
This commit is contained in:
@@ -200,6 +200,7 @@ func TestNetworkFingerprint_AWS(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestNetworkFingerprint_notAWS(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),
|
||||
|
||||
Reference in New Issue
Block a user