Merge pull request #29846 from hashicorp/barrettclark/parrelize-cloud-e2e-tests

cloud: Allow cloud tests to be run in parallel
This commit is contained in:
Barrett Clark 2021-11-01 14:39:25 -05:00 committed by GitHub
commit 13ec9b539c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,7 @@ import (
)
func Test_terraform_apply_autoApprove(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()

View File

@ -14,6 +14,7 @@ import (
)
func Test_backend_apply_before_init(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
cases := map[string]struct {

View File

@ -14,6 +14,7 @@ import (
)
func Test_init_with_empty_tags(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
cases := map[string]struct {

View File

@ -15,6 +15,7 @@ import (
)
func Test_migrate_multi_to_tfc_cloud_name_strategy(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()
@ -244,6 +245,7 @@ func Test_migrate_multi_to_tfc_cloud_name_strategy(t *testing.T) {
}
func Test_migrate_multi_to_tfc_cloud_tags_strategy(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()

View File

@ -15,6 +15,7 @@ import (
)
func Test_migrate_remote_backend_name_to_tfc_name(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()
@ -199,6 +200,7 @@ func Test_migrate_remote_backend_name_to_tfc_name(t *testing.T) {
}
func Test_migrate_remote_backend_name_to_tfc_name_different_org(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()
@ -338,6 +340,7 @@ func Test_migrate_remote_backend_name_to_tfc_name_different_org(t *testing.T) {
}
func Test_migrate_remote_backend_name_to_tfc_tags(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()
@ -483,6 +486,7 @@ func Test_migrate_remote_backend_name_to_tfc_tags(t *testing.T) {
}
func Test_migrate_remote_backend_prefix_to_tfc_name(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()
@ -703,6 +707,7 @@ func Test_migrate_remote_backend_prefix_to_tfc_name(t *testing.T) {
}
func Test_migrate_remote_backend_prefix_to_tfc_tags(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()

View File

@ -15,6 +15,7 @@ import (
)
func Test_migrate_single_to_tfc(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()

View File

@ -14,6 +14,7 @@ import (
)
func Test_migrate_tfc_to_other(t *testing.T) {
t.Parallel()
cases := map[string]struct {
operations []operationSets
}{

View File

@ -16,6 +16,7 @@ import (
)
func Test_migrate_tfc_to_tfc_single_workspace(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()
@ -301,6 +302,7 @@ func Test_migrate_tfc_to_tfc_single_workspace(t *testing.T) {
}
func Test_migrate_tfc_to_tfc_multiple_workspace(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
ctx := context.Background()

View File

@ -46,6 +46,7 @@ output "test_env" {
}
func Test_cloud_run_variables(t *testing.T) {
t.Parallel()
skipWithoutRemoteTerraformVersion(t)
cases := testCases{