Skip to content

Commit

Permalink
Add a random string to ad directory so tests can be run in parallel (G…
Browse files Browse the repository at this point in the history
…oogleCloudPlatform#3802)

* Add a random string to ad directory so tests can be run in parallel

* Add import
  • Loading branch information
slevenick authored Jul 31, 2020
1 parent d52ce67 commit a92d6fa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package google

import (
"fmt"
"testing"

"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
Expand All @@ -9,8 +10,9 @@ import (
func TestAccActiveDirectoryDomain_update(t *testing.T) {
t.Parallel()

domain := fmt.Sprintf("mydomain%s.org1.com", randString(t, 5))
context := map[string]interface{}{
"domain": "mydomain.org1.com",
"domain": domain,
"resource_name": "ad-domain",
}

Expand Down

0 comments on commit a92d6fa

Please sign in to comment.