Skip to content

Commit

Permalink
fix: Makes mongodbatlas_alert_configuration Datadog acceptance test…
Browse files Browse the repository at this point in the history
…s non-parallel (#2626)
  • Loading branch information
maastha authored Sep 24, 2024
1 parent 0aeb0df commit 52d5278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ func TestMigConfigRSAlertConfiguration_withEmptyOptionalAttributes(t *testing.T)

func TestMigConfigRSAlertConfiguration_withDataDog(t *testing.T) {
mig.SkipIfVersionBelow(t, "1.20.0")
mig.CreateAndRunTest(t, datadogTestCase(t))
mig.CreateAndRunTestNonParallel(t, datadogTestCase(t)) // not run in parallel so acc and mig tests don't interfere
}
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func TestAccConfigRSAlertConfiguration_updatePagerDutyWithNotifierId(t *testing.
}

func TestAccConfigRSAlertConfiguration_withDataDog(t *testing.T) {
resource.ParallelTest(t, *datadogTestCase(t))
resource.Test(t, *datadogTestCase(t)) // not run in parallel so acc and mig tests don't interfere
}

func datadogTestCase(t *testing.T) *resource.TestCase {
Expand Down

0 comments on commit 52d5278

Please sign in to comment.