Skip to content

Commit

Permalink
Fix compose up retries in python tests (elastic#17120)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored Mar 19, 2020
1 parent ac53ec2 commit 450067d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libbeat/tests/system/beat/beat.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ def compose_up_with_retries(self):
try:
self.compose_up()
return
except e:
except Exception as e:
if i + 1 >= retries:
raise e
print("Compose up failed, retrying: " + e)
print("Compose up failed, retrying: {}".format(e))
self.compose_down()

def run_beat(self,
Expand Down

0 comments on commit 450067d

Please sign in to comment.