diff --git a/main_test.go b/main_test.go index 70bb6a0..45d00df 100644 --- a/main_test.go +++ b/main_test.go @@ -43,11 +43,13 @@ func Test_Check(t *testing.T) { t.Fatalf("Required environment variable SCALR_TOKEN is not set") } - _, ok = os.LookupEnv("SCALR_HOSTNAME") + hostname, ok = os.LookupEnv("SCALR_HOSTNAME") if !ok { t.Fatalf("Required environment variable SCALR_HOSTNAME is not set") } + t.Log("Will run tests against host: " + hostname) + _, ok = os.LookupEnv("SCALR_ACCOUNT") if !ok { t.Fatalf("Required environment variable SCALR_ACCOUNT is not set")