diff --git a/tests/e2e/testsuites/testsuites.go b/tests/e2e/testsuites/testsuites.go index c190d48c..70d32273 100644 --- a/tests/e2e/testsuites/testsuites.go +++ b/tests/e2e/testsuites/testsuites.go @@ -557,7 +557,7 @@ func (t *TestPod) Create() { } func (t *TestPod) WaitForSuccess() { - err := e2epod.WaitForPodRunningInNamespace(context.Background(), t.client, t.pod) + err := e2epod.WaitForPodSuccessInNamespace(context.Background(), t.client, t.pod.Name, t.namespace.Name) framework.ExpectNoError(err) }