Fix managed zone tests.

Managed zone tests are failing because we're attempting to use the naked
domain as the managed zone, when it's already being managed by GCP. By
making a subdomain the managed zone, we avoid this problem.
This commit is contained in:
Paddy Carver 2018-03-15 13:22:29 -07:00
parent 877cd215fd
commit 4698711ab1
2 changed files with 3 additions and 3 deletions

View File

@ -802,7 +802,7 @@ func flattenPreemptibleInstanceGroupConfig(d *schema.ResourceData, icg *dataproc
func flattenInstanceGroupConfig(d *schema.ResourceData, icg *dataproc.InstanceGroupConfig) []map[string]interface{} {
disk := map[string]interface{}{}
data := map[string]interface{}{
//"instance_names": []string{},
//"instance_names": []string{},
}
if icg != nil {

View File

@ -82,6 +82,6 @@ func testAccDnsManagedZone_basic() string {
return fmt.Sprintf(`
resource "google_dns_managed_zone" "foobar" {
name = "mzone-test-%s"
dns_name = "hashicorptest.com."
}`, acctest.RandString(10))
dns_name = "tf-acctest-%s.hashicorptest.com."
}`, acctest.RandString(10), acctest.RandString(10))
}