From bddfc6f54b7156902958baea11bfe03b6056d24e Mon Sep 17 00:00:00 2001 From: Evan Rademacher <44209290+erademacher@users.noreply.github.com> Date: Fri, 4 Nov 2022 13:19:48 -0700 Subject: [PATCH] Reduce test cluster name length to 20 chars (#56) --- internal/provider/private_endpoint_services_resource_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/provider/private_endpoint_services_resource_test.go b/internal/provider/private_endpoint_services_resource_test.go index fc941ffa..b68dd851 100644 --- a/internal/provider/private_endpoint_services_resource_test.go +++ b/internal/provider/private_endpoint_services_resource_test.go @@ -32,14 +32,14 @@ import ( // a real cluster and endpoint services. It will be skipped if TF_ACC isn't set. func TestAccPrivateEndpointServicesResource(t *testing.T) { t.Parallel() - clusterName := fmt.Sprintf("endpoint-services-%s", GenerateRandomString(3)) + clusterName := fmt.Sprintf("endpoint-services-%s", GenerateRandomString(2)) testPrivateEndpointServicesResource(t, clusterName, false) } // TestIntegrationAllowlistEntryResource attempts to create, check, and destroy // a cluster and endpoint services, but uses a mocked API service. func TestIntegrationPrivateEndpointServicesResource(t *testing.T) { - clusterName := fmt.Sprintf("endpoint-services-%s", GenerateRandomString(3)) + clusterName := fmt.Sprintf("endpoint-services-%s", GenerateRandomString(2)) clusterID := "cluster-id" if os.Getenv(CockroachAPIKey) == "" { os.Setenv(CockroachAPIKey, "fake")