Skip to content

Commit

Permalink
PBM-1384 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak committed Sep 5, 2024
1 parent 87b3d70 commit 7d1fa79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pbm-functional/pytest/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ def make_backup(self, type):
elif "resync" in start.stdout:
Cluster.log("Resync in progress, retrying: " + start.stdout)
else:
assert False, "Backup failed" + start.stdout + start.stderr
logs = n.check_output("pbm logs -sD -t0")
assert False, "Backup failed" + start.stdout + start.stderr + '\n' + logs
if time.time() > timeout:
assert False, "Timeout for backup start exceeded"
time.sleep(1)
Expand Down

0 comments on commit 7d1fa79

Please sign in to comment.