Skip to content

Commit

Permalink
Reduce test cluster name length to 20 chars (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
erademacher committed Nov 4, 2022
1 parent 4c0fed6 commit bddfc6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/provider/private_endpoint_services_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bddfc6f

Please sign in to comment.