Skip to content

Commit

Permalink
DE23608 Fix retry get status with timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro Mykhaliev committed Jul 19, 2022
1 parent e072ca6 commit f3182ef
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 f3182ef

Please # to comment.