From cb3584809c4f5c92e74b0743810a9f5fb7e704f2 Mon Sep 17 00:00:00 2001 From: zachaller Date: Fri, 28 Jul 2023 15:03:04 -0500 Subject: [PATCH] copy var instead of removing Parallel Signed-off-by: zachaller --- pkg/apis/rollouts/validation/validation_references_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/apis/rollouts/validation/validation_references_test.go b/pkg/apis/rollouts/validation/validation_references_test.go index 7034ddb5c5..4fc8349fdf 100644 --- a/pkg/apis/rollouts/validation/validation_references_test.go +++ b/pkg/apis/rollouts/validation/validation_references_test.go @@ -1371,7 +1371,9 @@ spec: routeTypes := []string{"httpRoute", "tcpRoute", "grpcRoute", "http2Route"} for _, routeType := range routeTypes { + routeType := routeType t.Run(fmt.Sprintf("will succeed with valid appmesh virtual-router with %s", routeType), func(t *testing.T) { + t.Parallel() manifest := fmt.Sprintf(` apiVersion: appmesh.k8s.aws/v1beta2 kind: VirtualRouter