move t.Parallel() out of for loop

This commit is contained in:
Ashley Gau 2018-07-09 12:58:19 -07:00
parent f70410959d
commit 27a453fc77

View File

@ -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"}