diff --git a/newrelic/data_source_newrelic_entity_integration_test.go b/newrelic/data_source_newrelic_entity_integration_test.go index 8fc28ed343..800f047d88 100644 --- a/newrelic/data_source_newrelic_entity_integration_test.go +++ b/newrelic/data_source_newrelic_entity_integration_test.go @@ -9,6 +9,7 @@ import ( "strconv" "strings" "testing" + "time" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" @@ -37,6 +38,8 @@ func TestAccNewRelicSingleQuotedEntityData_Basic(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { testAccSingleQuotedPreCheck(t) + + time.Sleep(2 * time.Second) }, Providers: testAccProviders, Steps: []resource.TestStep{ diff --git a/newrelic/provider_test.go b/newrelic/provider_test.go index e9421e831a..d2704cc9eb 100644 --- a/newrelic/provider_test.go +++ b/newrelic/provider_test.go @@ -237,7 +237,7 @@ func testAccApplicationsCleanup(t *testing.T) { if err == nil { deletedAppCount++ - t.Logf("deleted application %d (%d/%d)", app.ID, deletedAppCount, len(applications)) + t.Logf("deleted application %s (%d/%d)", app.Name, deletedAppCount, len(applications)) } } }