File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ func getReadyWorkerNodes() *corev1.NodeList {
270
270
}
271
271
}
272
272
if len (readyWorkerNodes .Items ) < 1 {
273
- Skip ("There isn't an available (and ready) worker node in the cluster" )
273
+ Fail ("There isn't an available (and ready) worker node in the cluster" )
274
274
}
275
275
return readyWorkerNodes
276
276
}
@@ -279,7 +279,7 @@ func getReadyWorkerNodes() *corev1.NodeList {
279
279
// and then the node is removed from the list of available nodes
280
280
func pickRemediatedNode (availableNodes * corev1.NodeList ) * corev1.Node {
281
281
if len (availableNodes .Items ) < 1 {
282
- Skip ("There isn't an available (and ready) worker node in the cluster" )
282
+ Fail ("There isn't an available (and ready) worker node in the cluster" )
283
283
}
284
284
// Generate a random seed based on the current time
285
285
r := rand .New (rand .NewSource (time .Now ().UnixNano ()))
You can’t perform that action at this time.
0 commit comments