@@ -236,11 +236,11 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
236236 Consistently (func () error {
237237 kubeSystem := & corev1.Namespace {}
238238 return input .BootstrapClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : "kube-system" }, kubeSystem )
239- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert bootstrap API server stability" )
239+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert bootstrap API server stability" )
240240 Consistently (func () error {
241241 kubeSystem := & corev1.Namespace {}
242242 return selfHostedClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : "kube-system" }, kubeSystem )
243- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert self-hosted API server stability" )
243+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert self-hosted API server stability" )
244244
245245 // Get the machines of the workloadCluster before it is moved to become self-hosted to make sure that the move did not trigger
246246 // any unexpected rollouts.
@@ -438,11 +438,11 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
438438 Consistently (func () error {
439439 kubeSystem := & corev1.Namespace {}
440440 return input .BootstrapClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : "kube-system" }, kubeSystem )
441- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert bootstrap API server stability" )
441+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert bootstrap API server stability" )
442442 Consistently (func () error {
443443 kubeSystem := & corev1.Namespace {}
444444 return selfHostedClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : "kube-system" }, kubeSystem )
445- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert self-hosted API server stability" )
445+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert self-hosted API server stability" )
446446
447447 By ("Moving the cluster back to bootstrap" )
448448 clusterctl .Move (ctx , clusterctl.MoveInput {
0 commit comments