Skip to content

Commit 567c376

Browse files
committed
Fix Test_ValidateCluster unit tests for mink8s
Signed-off-by: Stefan Büringer [email protected]
1 parent 4354b6f commit 567c376

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)