From ad3376f0136552a540a0fb1d10a7032509ce8262 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Thu, 22 Feb 2024 10:52:42 +0800 Subject: [PATCH] test: fix flaky test case test_engine_image_daemonset_restart Signed-off-by: Yang Chiu --- manager/integration/tests/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/integration/tests/common.py b/manager/integration/tests/common.py index b3294eeaa3..40580fda5e 100644 --- a/manager/integration/tests/common.py +++ b/manager/integration/tests/common.py @@ -2220,10 +2220,10 @@ def wait_for_engine_image_condition(client, image_name, state): # This helps to prevent the flaky test case in which the ENGINE_NAME # is flapping between ready and not ready a few times before settling # down to the ready state - # https://github.com/longhorn/longhorn-tests/pull/1638 + # https://github.com/longhorn/longhorn/issues/7438 state_count = 1 if state == "True": - state_count = 5 + state_count = 60 c = 0 for i in range(RETRY_COUNTS):