Skip to content

Commit

Permalink
DE23608 Fix retry get status with timeout (#1669)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmytro Mykhaliev <dmytro.mykhaliev@broadcom.com>
  • Loading branch information
mykhaliev1 and Dmytro Mykhaliev committed Jul 19, 2022
1 parent e072ca6 commit 5b5e37f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bzt/bza.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def _impl(self, *args, **kwargs):
return method(self, *args, **kwargs)
except NETWORK_PROBLEMS:
self.log.debug("Error making request: %s", traceback.format_exc())
self.log.warning("Failed to make request, will retry in %s sec...", self.user.timeout)
time.sleep(self.user.timeout)
self.log.warning("Failed to make request, will retry in %s sec...", self.timeout)
time.sleep(self.timeout)

return _impl

Expand Down

0 comments on commit 5b5e37f

Please # to comment.