Skip to content

Commit

Permalink
remove double retry decorator
Browse files Browse the repository at this point in the history
Signed-off-by: vavuthu <vavuthu@redhat.com>
  • Loading branch information
vavuthu committed Sep 27, 2024
1 parent b0181e7 commit 4a8205d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ocs_ci/ocs/resources/mcg.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,14 +882,13 @@ def exec_mcg_cmd(self, cmd, namespace=None, use_yes=False, **kwargs):
result.stderr = result.stderr.decode()
return result

@property
@retry(
(CommandFailed, subprocess.TimeoutExpired),
tries=5,
delay=15,
exception_to_check=(CommandFailed, KeyError, subprocess.TimeoutExpired),
tries=10,
delay=6,
backoff=1,
)
@property
@retry(exception_to_check=(CommandFailed, KeyError), tries=10, delay=6, backoff=1)
def status(self):
"""
Verify the status of NooBaa, and its default backing store and bucket class
Expand Down

0 comments on commit 4a8205d

Please sign in to comment.