diff --git a/e2e/worker_kubeadm_join_test.go b/e2e/worker_kubeadm_join_test.go index 993c37ee..8b247072 100644 --- a/e2e/worker_kubeadm_join_test.go +++ b/e2e/worker_kubeadm_join_test.go @@ -57,7 +57,7 @@ var _ = Describe("starting a kind worker with kubeadm", func() { Port: 31443, }, Kubernetes: kamajiv1alpha1.KubernetesSpec{ - Version: "v1.25.3", + Version: "v1.29.0", Kubelet: kamajiv1alpha1.KubeletSpec{ CGroupFS: "cgroupfs", }, @@ -143,11 +143,11 @@ var _ = Describe("starting a kind worker with kubeadm", func() { }) By("executing the command in the worker node", func() { - cmds := append(strings.Split(strings.TrimSpace(joinCommandBuffer.String()), " "), "--ignore-preflight-errors", "SystemVerification") + cmds := append(strings.Split(strings.TrimSpace(joinCommandBuffer.String()), " "), "--ignore-preflight-errors=SystemVerification") exitCode, _, err := workerContainer.Exec(ctx, cmds) - Expect(exitCode).To(Equal(0)) Expect(err).ToNot(HaveOccurred()) + Expect(exitCode).To(Equal(0)) }) By("waiting for nodes", func() {