Skip to content

Commit

Permalink
log mirror pod name
Browse files Browse the repository at this point in the history
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
  • Loading branch information
tedyu committed Mar 1, 2020
1 parent 50a8620 commit c0d9c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e_node/mirror_pod_test.go
Expand Up @@ -119,11 +119,11 @@ var _ = framework.KubeDescribe("MirrorPod", func() {
framework.ExpectNoError(err)
uid := pod.UID

ginkgo.By("delete the mirror pod with grace period 0s")
ginkgo.By(fmt.Sprintf("delete the mirror pod %s with grace period 0s", mirrorPodName))
err = f.ClientSet.CoreV1().Pods(ns).Delete(context.TODO(), mirrorPodName, metav1.NewDeleteOptions(0))
framework.ExpectNoError(err)

ginkgo.By("wait for the mirror pod to be recreated")
ginkgo.By(fmt.Sprintf("wait for the mirror pod %s to be recreated", mirrorPodName))
gomega.Eventually(func() error {
return checkMirrorPodRecreatedAndRunning(f.ClientSet, mirrorPodName, ns, uid)
}, 2*time.Minute, time.Second*4).Should(gomega.BeNil())
Expand Down

0 comments on commit c0d9c9e

Please sign in to comment.