Skip to content

Commit

Permalink
longer randoms
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Jan 12, 2024
1 parent 997396e commit b09c09d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/ipamhelper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func configureControlPlaneIPs(clusterctlConfigPath string, additionalIPVariableN
variables[variable] = ip
}

modifiedClusterctlConfigPath := fmt.Sprintf("%s-%s.yaml", strings.TrimSuffix(clusterctlConfigPath, ".yaml"), rand.String(10))
modifiedClusterctlConfigPath := fmt.Sprintf("%s-%s.yaml", strings.TrimSuffix(clusterctlConfigPath, ".yaml"), rand.String(16))

Byf("Writing a new clusterctl config to %s", modifiedClusterctlConfigPath)
copyAndAmendClusterctlConfig(ctx, copyAndAmendClusterctlConfigInput{
Expand Down Expand Up @@ -96,7 +96,7 @@ func newIPAMService() *ipamService {
func (s *ipamService) claimIPAddress() string {
claim := &ipamv1.IPAddressClaim{
ObjectMeta: metav1.ObjectMeta{
Name: "ipclaim-" + rand.String(10),
Name: "ipclaim-" + rand.String(32),
Namespace: metav1.NamespaceDefault,
Annotations: map[string]string{
"prow.k8s.io/build-id": os.Getenv("BUILD_ID"),
Expand Down

0 comments on commit b09c09d

Please sign in to comment.