PagerDuty / terraform-provider-pagerduty

Terraform PagerDuty provider
https://www.terraform.io/docs/providers/pagerduty/
Mozilla Public License 2.0
204 stars 208 forks source link

Prevent timeout for alert_grouping_parameters to be explicitly set to zero when they are of type "content_based" #871

Closed cjgajard closed 1 month ago

cjgajard commented 1 month ago

Fixes issue #867

New acceptance test introduced to prevent regression

TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -count=1 -run TestAccPagerDutyService_AlertGroupingParametersAddConfigField -timeout 120m
?       github.com/PagerDuty/terraform-provider-pagerduty       [no test files]
=== RUN   TestAccPagerDutyService_AlertGroupingParametersAddConfigField
--- PASS: TestAccPagerDutyService_AlertGroupingParametersAddConfigField (21.31s)
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerduty     21.978s
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/pagerdutyplugin       1.147s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/PagerDuty/terraform-provider-pagerduty/util  0.780s [no tests to run]