From 5e19d3a5a7eaac92eee2d2dc0da3b419408d8abf Mon Sep 17 00:00:00 2001 From: jiawei Date: Thu, 19 Sep 2024 03:39:32 +0000 Subject: [PATCH] skip tests --- .../dynatrace/dynatrace_monitors_resource_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/services/dynatrace/dynatrace_monitors_resource_test.go b/internal/services/dynatrace/dynatrace_monitors_resource_test.go index f235526fded1..a4daf056c34b 100644 --- a/internal/services/dynatrace/dynatrace_monitors_resource_test.go +++ b/internal/services/dynatrace/dynatrace_monitors_resource_test.go @@ -104,19 +104,19 @@ func TestAccDynatraceMonitor_requiresImport(t *testing.T) { func (r MonitorsResource) preCheck(t *testing.T) { if r.dynatraceInfo.UserCountry == "" { - t.Fatal("DYNATRACE_USER_COUNTRY must be set for acceptance tests") + t.Skipf("DYNATRACE_USER_COUNTRY must be set for acceptance tests") } if r.dynatraceInfo.UserEmail == "" { - t.Fatal("DYNATRACE_USER_EMAIL must be set for acceptance tests") + t.Skipf("DYNATRACE_USER_EMAIL must be set for acceptance tests") } if r.dynatraceInfo.UserFirstName == "" { - t.Fatal("DYNATRACE_USER_FIRST_NAME must be set for acceptance tests") + t.Skipf("DYNATRACE_USER_FIRST_NAME must be set for acceptance tests") } if r.dynatraceInfo.UserLastName == "" { - t.Fatal("DYNATRACE_USER_LAST_NAME must be set for acceptance tests") + t.Skipf("DYNATRACE_USER_LAST_NAME must be set for acceptance tests") } if r.dynatraceInfo.UserPhoneNumber == "" { - t.Fatal("DYNATRACE_USER_PHONE_NUMBER must be set for acceptance tests") + t.Skipf("DYNATRACE_USER_PHONE_NUMBER must be set for acceptance tests") } }