Skip to content

Commit

Permalink
PBM-1228 Check if the backup actually was created on the filesystem s…
Browse files Browse the repository at this point in the history
…torage
  • Loading branch information
olexandr-havryliak committed Jul 29, 2024
1 parent cb442a2 commit a3cd19e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pbm-functional/pytest/test_PBM-1228.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ def insert_docs():
Cluster.log(profile.stdout)
Cluster.log("Perform backup on fs profile")
fs_backup=cluster.make_backup(backup_type + " --profile filesystem")
Cluster.log("Check if the backup actually was created on the filesystem storage")
assert os.path.isdir("/backups/" + fs_backup)
assert os.path.isfile("/backups/" + fs_backup + ".pbm.json")
time.sleep(60)
background_insert.join()
time.sleep(30)
Expand Down

0 comments on commit a3cd19e

Please sign in to comment.