Skip to content

Commit

Permalink
Merge pull request #11794 from hashicorp/paddy_fix_gcp_dns_tests
Browse files Browse the repository at this point in the history
provider/google: update DNS names in tests.
  • Loading branch information
Paddy authored Feb 8, 2017
2 parents 5ca5a3c + 6257aff commit f8fdd6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion builtin/providers/google/resource_dns_managed_zone_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ func testAccCheckDnsManagedZoneExists(n string, zone *dns.ManagedZone) resource.
var testAccDnsManagedZone_basic = fmt.Sprintf(`
resource "google_dns_managed_zone" "foobar" {
name = "mzone-test-%s"
dns_name = "terraform.test."
dns_name = "hashicorptest.com."
}`, acctest.RandString(10))
8 changes: 4 additions & 4 deletions builtin/providers/google/resource_dns_record_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ func testAccDnsRecordSet_basic(zoneName string, addr2 string, ttl int) string {
return fmt.Sprintf(`
resource "google_dns_managed_zone" "parent-zone" {
name = "%s"
dns_name = "terraform.test."
dns_name = "hashicorptest.com."
description = "Test Description"
}
resource "google_dns_record_set" "foobar" {
managed_zone = "${google_dns_managed_zone.parent-zone.name}"
name = "test-record.terraform.test."
name = "test-record.hashicorptest.com."
type = "A"
rrdatas = ["127.0.0.1", "%s"]
ttl = %d
Expand All @@ -155,12 +155,12 @@ func testAccDnsRecordSet_bigChange(zoneName string, ttl int) string {
return fmt.Sprintf(`
resource "google_dns_managed_zone" "parent-zone" {
name = "%s"
dns_name = "terraform.test."
dns_name = "hashicorptest.com."
description = "Test Description"
}
resource "google_dns_record_set" "foobar" {
managed_zone = "${google_dns_managed_zone.parent-zone.name}"
name = "test-record.terraform.test."
name = "test-record.hashicorptest.com."
type = "CNAME"
rrdatas = ["www.terraform.io."]
ttl = %d
Expand Down

0 comments on commit f8fdd6e

Please sign in to comment.