Skip to content

Commit

Permalink
HCPCP-1982 Add t.Parallel to sample platform networking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpilz committed Dec 10, 2024
1 parent 8ed62b0 commit 420a6a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ var (
)

func TestAcc_Platform_Peering_Aws(t *testing.T) {
t.Parallel()
resourceName := "hcp_aws_network_peering.peering"

resource.Test(t, resource.TestCase{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ var (
)

func TestAcc_Platform_TGWAttachment(t *testing.T) {
t.Parallel()
resourceName := "hcp_aws_transit_gateway_attachment.example"

resource.Test(t, resource.TestCase{
Expand Down
2 changes: 2 additions & 0 deletions internal/providersdkv2/resource_hvn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ data "hcp_hvn" "test" {
// This includes tests against both the resource and the corresponding datasource
// to shorten testing time.
func TestAcc_Platform_Hvn_Aws(t *testing.T) {
t.Parallel()
resourceName := "hcp_hvn.test"
dataSourceName := "data.hcp_hvn.test"

Expand Down Expand Up @@ -124,6 +125,7 @@ func TestAcc_Platform_Hvn_Aws(t *testing.T) {
}

func TestAcc_Platform_Hvn_Azure(t *testing.T) {
t.Parallel()
resourceName := "hcp_hvn.test"
dataSourceName := "data.hcp_hvn.test"

Expand Down

0 comments on commit 420a6a4

Please sign in to comment.