You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}, input.E2EConfig.GetIntervals(specName, "wait-worker-nodes")...).Should(Equal(*controlPlaneMachineCount+*workerMachineCount), "Timed out waiting for all machines to be exist")
289
289
290
290
By("THE MANAGEMENT CLUSTER WITH OLDER VERSION OF PROVIDERS WORKS!")
}, intervals...).Should(Equal(string(clusterv1.ClusterPhaseProvisioned)), "Timed out waiting for Cluster %s/%s to provision", input.Cluster.GetNamespace(), input.Cluster.GetName())
}, retryableOperationTimeout, retryableOperationInterval).Should(Succeed(), "Failed to patch Cluster topology %s/%s with version %s", input.Cluster.Namespace, input.Cluster.Name, input.KubernetesUpgradeVersion)
106
106
107
107
// Once we have patched the Kubernetes Cluster we can run PreWaitForControlPlaneToBeUpgraded.
108
108
// Note: This can e.g. be used to verify the BeforeClusterUpgrade lifecycle hook is executed
}, intervals...).Should(Equal(int(*input.ControlPlane.Spec.Replicas)), "Timed out waiting for %d control plane machines to exist", int(*input.ControlPlane.Spec.Replicas))
117
117
}
118
118
119
119
// WaitForOneKubeadmControlPlaneMachineToExistInput is the input for WaitForKubeadmControlPlaneMachinesToExist.
@@ -242,7 +242,7 @@ func DiscoveryAndWaitForControlPlaneInitialized(ctx context.Context, input Disco
242
242
Namespace: input.Cluster.Namespace,
243
243
})
244
244
g.Expect(controlPlane).ToNot(BeNil())
245
-
}, "10s", "1s").Should(Succeed())
245
+
}, "10s", "1s").Should(Succeed(), "Couldn't get the control plane for the cluster %q", input.Cluster.Name)
246
246
247
247
log.Logf("Waiting for the first control plane machine managed by %s/%s to be provisioned", controlPlane.Namespace, controlPlane.Name)
}, retryableOperationTimeout, retryableOperationInterval).Should(Succeed(), "Failed to patch the new kubernetes version to KCP %s/%s", input.ControlPlane.Namespace, input.ControlPlane.Name)
343
343
344
344
log.Logf("Waiting for control-plane machines to have the upgraded kubernetes version")
}, input.WaitForControlPlane...).Should(Equal(int(input.Replicas)), "Timed out waiting for %d replicas to exist for control-plane %s/%s", int(input.Replicas), input.ControlPlane.Namespace, input.ControlPlane.Name)
}, intervals...).Should(Equal(input.MachineCount), "Timed out waiting for all control-plane machines in Cluster %s/%s to be upgraded to kubernetes version %s", input.Cluster.Namespace, input.Cluster.Name, input.KubernetesUpgradeVersion)
151
151
}
152
152
153
153
// WaitForMachineDeploymentMachinesToBeUpgradedInput is the input for WaitForMachineDeploymentMachinesToBeUpgraded.
}, intervals...).Should(Equal(input.MachineCount), "Timed out waiting for all MachineDeployment %s/%s Machines to be upgraded to kubernetes version %s", input.MachineDeployment.Namespace, input.MachineDeployment.Name, input.KubernetesUpgradeVersion)
191
191
}
192
192
193
193
// PatchNodeConditionInput is the input for PatchNodeCondition.
0 commit comments