From f33265cf5d0d237c61b15cf2e3822988046c6fe2 Mon Sep 17 00:00:00 2001 From: carlory Date: Thu, 7 Sep 2023 15:48:18 +0800 Subject: [PATCH] HandleRetry has already called in the GetObject --- test/e2e/framework/pod/get.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/framework/pod/get.go b/test/e2e/framework/pod/get.go index d83314d1981..4a90e563464 100644 --- a/test/e2e/framework/pod/get.go +++ b/test/e2e/framework/pod/get.go @@ -24,8 +24,8 @@ import ( ) // Get creates a function which retrieves the pod anew each time the function -// is called. Fatal errors are detected by framework.HandleRetry and cause +// is called. Fatal errors are detected by framework.GetObject and cause // polling to stop. func Get(c clientset.Interface, pod framework.NamedObject) framework.GetFunc[*v1.Pod] { - return framework.HandleRetry(framework.GetObject(c.CoreV1().Pods(pod.GetNamespace()).Get, pod.GetName(), metav1.GetOptions{})) + return framework.GetObject(c.CoreV1().Pods(pod.GetNamespace()).Get, pod.GetName(), metav1.GetOptions{}) }