test(postgres): add delay in test_backup_no_options to avoid same-second timestamp collision

This commit is contained in:
AarDG10 2025-11-07 12:39:35 +05:30
parent 907f3de872
commit a9c17f0e84

View file

@ -659,6 +659,7 @@ class TestBackups(BaseTestCommands):
def test_backup_no_options(self):
"""Take a backup without any options"""
before_backup = fetch_latest_backups(partial=True)
time.sleep(1)
self.execute("bench --site {site} backup")
after_backup = fetch_latest_backups(partial=True)