From 147803704a4a09992fcb0df9730b1ebad849cf3a Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Tue, 19 Mar 2024 14:57:44 +0800 Subject: [PATCH] fix(negative): wait_for_workload_pods_stable longhorn/longhorn-8193 Signed-off-by: Chin-Ya Huang --- e2e/libs/workload/workload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/libs/workload/workload.py b/e2e/libs/workload/workload.py index 9fe3768f61..0bb25b5d49 100644 --- a/e2e/libs/workload/workload.py +++ b/e2e/libs/workload/workload.py @@ -174,7 +174,7 @@ def wait_for_workload_pods_stable(workload_name, namespace="default"): continue pod_name = pod.metadata.name - if wait_for_stable_retry[pod_name] != WAIT_FOR_POD_STABLE_MAX_RETRY: + if wait_for_stable_retry[pod_name] < WAIT_FOR_POD_STABLE_MAX_RETRY: wait_for_stable_pod.append(pod_name) if len(wait_for_stable_pod) == 0: