Merge pull request #135165 from HirazawaUi/fix-standalone-tests

Fix the failing e2e test case in Standalone mode.
This commit is contained in:
Kubernetes Prow Robot
2025-11-06 03:37:03 -08:00
committed by GitHub

View File

@@ -532,11 +532,8 @@ var _ = SIGDescribe(feature.StandaloneMode, framework.WithSerial(), func() {
return nil
}, f.Timeouts.PodStart, time.Second*5).Should(gomega.Succeed())
ginkgo.By("stopping the kubelet")
restartKubelet := mustStopKubelet(ctx, f)
ginkgo.By("restarting the kubelet")
restartKubelet(ctx)
restartKubelet(ctx, true)
gomega.Eventually(ctx, func() bool {
return kubeletHealthCheck(kubeletHealthCheckURL)