@@ -132,11 +132,11 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
132132 Consistently (func () error {
133133 ns := & corev1.Namespace {}
134134 return input .BootstrapClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : kubesystem }, ns )
135- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert bootstrap API server stability" )
135+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert bootstrap API server stability" )
136136 Consistently (func () error {
137137 ns := & corev1.Namespace {}
138138 return selfHostedClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : kubesystem }, ns )
139- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert self-hosted API server stability" )
139+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert self-hosted API server stability" )
140140
141141 By ("Moving the cluster to self hosted" )
142142 clusterctl .Move (ctx , clusterctl.MoveInput {
@@ -218,11 +218,11 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
218218 Consistently (func () error {
219219 ns := & corev1.Namespace {}
220220 return input .BootstrapClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : kubesystem }, ns )
221- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert bootstrap API server stability" )
221+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert bootstrap API server stability" )
222222 Consistently (func () error {
223223 ns := & corev1.Namespace {}
224224 return selfHostedClusterProxy .GetClient ().Get (ctx , client.ObjectKey {Name : kubesystem }, ns )
225- }, "5s" , "100ms" ).Should (BeNil (), "Failed to assert self-hosted API server stability" )
225+ }, "5s" , "100ms" ).Should (Succeed (), "Failed to assert self-hosted API server stability" )
226226
227227 By ("Moving the cluster back to bootstrap" )
228228 clusterctl .Move (ctx , clusterctl.MoveInput {
0 commit comments