Skip to content

Commit

Permalink
fix(negative): wait_for_workload_pods_stable
Browse files Browse the repository at this point in the history
longhorn/longhorn-8193

Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang authored and innobead committed Mar 19, 2024
1 parent bbcd707 commit 1478037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/libs/workload/workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1478037

Please sign in to comment.