Skip to content

Commit

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

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

* Add import

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Jul 31, 2020
1 parent 230c2af commit 47eaa45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/3802.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
4 changes: 3 additions & 1 deletion google/resource_active_directory_domain_update_test.go
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 47eaa45

Please sign in to comment.