File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ var _ = Describe("e2e tests", func() {
92
92
ClusterName : clusterName ,
93
93
Namespace : namespace .Name ,
94
94
})
95
- Expect (len ( workerMachines )) .To (Equal (1 ))
96
- Expect (len ( controlPlaneMachines )) .To (Equal (3 ))
95
+ Expect (workerMachines ).To (HaveLen (1 ))
96
+ Expect (controlPlaneMachines ).To (HaveLen (3 ))
97
97
})
98
98
})
99
99
@@ -118,8 +118,8 @@ var _ = Describe("e2e tests", func() {
118
118
ClusterName : clusterName ,
119
119
Namespace : namespace .Name ,
120
120
})
121
- Expect (len ( workerMachines )) .To (Equal (1 ))
122
- Expect (len ( controlPlaneMachines )) .To (Equal (1 ))
121
+ Expect (workerMachines ).To (HaveLen (1 ))
122
+ Expect (controlPlaneMachines ).To (HaveLen (1 ))
123
123
124
124
shared .Byf ("Waiting for worker nodes to be in Running phase" )
125
125
statusChecks := []framework.MachineStatusCheck {framework .MachinePhaseCheck (string (clusterv1 .MachinePhaseRunning ))}
You can’t perform that action at this time.
0 commit comments