Skip to content

Commit

Permalink
don't run API token unsets in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Feb 3, 2021
1 parent dc5d9ce commit 73cc8b9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func TestAccCloudflareAccessIdentityProviderOneTimePin(t *testing.T) {
os.Setenv("CLOUDFLARE_API_TOKEN", "")
}

t.Parallel()
rnd := generateRandomResourceName()
resourceName := "cloudflare_access_identity_provider." + rnd
resource.Test(t, resource.TestCase{
Expand Down
1 change: 0 additions & 1 deletion cloudflare/resource_cloudflare_waf_override_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func TestAccCloudflareWAFOverrideCreateAndUpdate(t *testing.T) {
os.Setenv("CLOUDFLARE_API_TOKEN", "")
}

t.Parallel()
zoneID := os.Getenv("CLOUDFLARE_ZONE_ID")
zoneName := os.Getenv("CLOUDFLARE_DOMAIN")

Expand Down
4 changes: 0 additions & 4 deletions cloudflare/resource_cloudflare_worker_route_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const (
)

func TestAccCloudflareWorkerRoute_MultiScriptEnt(t *testing.T) {
t.Parallel()

// Temporarily unset CLOUDFLARE_API_TOKEN if it is set as the Workers
// service does not yet support the API tokens and it results in
// misleading state error messages.
Expand Down Expand Up @@ -97,8 +95,6 @@ resource "cloudflare_worker_script" "%[3]s" {
}

func TestAccCloudflareWorkerRoute_MultiScriptDisabledRoute(t *testing.T) {
t.Parallel()

// Temporarily unset CLOUDFLARE_API_TOKEN if it is set as the Workers
// service does not yet support the API tokens and it results in
// misleading state error messages.
Expand Down

0 comments on commit 73cc8b9

Please sign in to comment.