From 350767ca88fa2e7e23dc7f194d9002be8fcef520 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Mon, 22 Jan 2024 14:22:47 +0800 Subject: [PATCH] test: fix flaky test case test_recovery_from_im_deletion Signed-off-by: Yang Chiu --- manager/integration/tests/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manager/integration/tests/common.py b/manager/integration/tests/common.py index e893331734..b4efddcc10 100644 --- a/manager/integration/tests/common.py +++ b/manager/integration/tests/common.py @@ -114,6 +114,7 @@ DEFAULT_POD_INTERVAL = 1 DEFAULT_POD_TIMEOUT = 180 +POD_DELETION_TIMEOUT = 600 DEFAULT_STATEFULSET_INTERVAL = 1 DEFAULT_STATEFULSET_TIMEOUT = 180 @@ -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: