Skip to content

Commit

Permalink
Merge pull request #177 from ctrombley/fix-acceptance-tests
Browse files Browse the repository at this point in the history
Fix some failing acceptance tests
  • Loading branch information
sanderblue authored Oct 22, 2019
2 parents e0b5591 + a147ec7 commit 5873984
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions newrelic/resource_newrelic_alert_policy_channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ resource "newrelic_alert_policy_channel" "foo" {

func testAccCheckNewRelicAlertPolicyChannelConfigUpdated(rName string) string {
return fmt.Sprintf(`
resource "newrelic_alert_policy" "bar" {
resource "newrelic_alert_policy" "foo" {
name = "tf-test-updated-%[1]s"
}
Expand All @@ -131,7 +131,7 @@ resource "newrelic_alert_channel" "foo" {
}
resource "newrelic_alert_policy_channel" "foo" {
policy_id = "${newrelic_alert_policy.bar.id}"
policy_id = "${newrelic_alert_policy.foo.id}"
channel_id = "${newrelic_alert_channel.foo.id}"
}
`, rName)
Expand Down
2 changes: 1 addition & 1 deletion newrelic/resource_newrelic_nrql_alert_condition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ resource "newrelic_nrql_alert_condition" "foo" {
}
nrql {
query = "SELECT uniqueCount(hostname) FROM ComputeSample"
since_value = "5"
since_value = "20"
}
value_function = "single_value"
}
Expand Down

0 comments on commit 5873984

Please sign in to comment.