From 27a453fc77989067b1eb55fde2728b1b9ef24d50 Mon Sep 17 00:00:00 2001 From: Ashley Gau Date: Mon, 9 Jul 2018 12:58:19 -0700 Subject: [PATCH] move t.Parallel() out of for loop --- .../providers/gce/gce_loadbalancer_internal_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cloudprovider/providers/gce/gce_loadbalancer_internal_test.go b/pkg/cloudprovider/providers/gce/gce_loadbalancer_internal_test.go index f6257a7cea4..4ca93a6f091 100644 --- a/pkg/cloudprovider/providers/gce/gce_loadbalancer_internal_test.go +++ b/pkg/cloudprovider/providers/gce/gce_loadbalancer_internal_test.go @@ -80,6 +80,8 @@ func TestEnsureInternalBackendServiceUpdates(t *testing.T) { } func TestEnsureInternalBackendServiceGroups(t *testing.T) { + t.Parallel() + for desc, tc := range map[string]struct { mockModifier func(*cloud.MockGCE) }{ @@ -96,8 +98,6 @@ func TestEnsureInternalBackendServiceGroups(t *testing.T) { }, } { t.Run(desc, func(t *testing.T) { - t.Parallel() - vals := DefaultTestClusterValues() nodeNames := []string{"test-node-1"}