Skip to content

Commit

Permalink
test: fix flaky test case test_engine_image_daemonset_restart
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <[email protected]>
  • Loading branch information
yangchiu authored and innobead committed Feb 22, 2024
1 parent 60994e6 commit ad3376f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/integration/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ad3376f

Please sign in to comment.