Skip to content

Commit

Permalink
PBM external restore debug
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak committed Sep 18, 2024
1 parent 65ff8ae commit a072903
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pbm-functional/pytest/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,9 @@ def external_restore_start(self):
if not self.get_status()['running']:
break
if time.time() > timeout:
assert False, "Cannot start restore, another operation running: " + self.get_status()['running']
n = testinfra.get_host("docker://" + self.pbm_cli)
logs = n.check_output("pbm logs -sD -t0")
assert False, "Cannot start restore, another operation running: " + str(self.get_status()['running']) + "\n" + logs
time.sleep(1)
Cluster.log("Restore started")

Expand Down

0 comments on commit a072903

Please sign in to comment.