Skip to content

Commit

Permalink
test: fix flaky test case test_recovery_from_im_deletion
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <[email protected]>
  • Loading branch information
yangchiu committed Jan 24, 2024
1 parent da62490 commit 350767c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manager/integration/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@

DEFAULT_POD_INTERVAL = 1
DEFAULT_POD_TIMEOUT = 180
POD_DELETION_TIMEOUT = 600

DEFAULT_STATEFULSET_INTERVAL = 1
DEFAULT_STATEFULSET_TIMEOUT = 180
Expand Down Expand Up @@ -936,7 +937,7 @@ def size_to_string(volume_size):


def wait_delete_pod(api, pod_uid, namespace='default'):
for i in range(DEFAULT_POD_TIMEOUT):
for i in range(POD_DELETION_TIMEOUT):
ret = api.list_namespaced_pod(namespace=namespace)
found = False
for item in ret.items:
Expand Down

0 comments on commit 350767c

Please sign in to comment.