From 309813129d1a9678a0d79ffd8da5ae18c1e4fd95 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 (cherry picked from commit ad3376f0136552a540a0fb1d10a7032509ce8262) --- 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 b4efddcc10..894751f3ee 100644 --- a/manager/integration/tests/common.py +++ b/manager/integration/tests/common.py @@ -2211,10 +2211,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):