Skip to content

Commit 122cac9

Browse files
authored
Merge pull request #12564 from sbueringer/pr-fix-webhook-test
🐛 Fix Test_ValidateCluster unit tests for mink8s
2 parents 21c7313 + 567c376 commit 122cac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/webhooks/test/cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ func Test_ValidateCluster(t *testing.T) {
5757
mdTopologyName: "machine-deployment-topology-name-that-has-longerthan63characterlooooooooooooooooooooooongname",
5858
mpTopologyName: "machine-pool-topology-name-that-has-longerthan63characterlooooooooooooooooooooooongname",
5959
wantErrs: []string{
60-
"spec.topology.workers.machineDeployments[0].name: Too long: may not be more than 63 bytes",
61-
"spec.topology.workers.machinePools[0].name: Too long: may not be more than 63 bytes",
60+
"spec.topology.workers.machineDeployments[0].name: Too long",
61+
"spec.topology.workers.machinePools[0].name: Too long",
6262
},
6363
},
6464
{

0 commit comments

Comments
 (0)