From 8e2e4d876a2b06464fd27d1afcfbf79c96c1506b Mon Sep 17 00:00:00 2001 From: Oleksandr Havryliak Date: Tue, 13 Aug 2024 11:57:00 +0300 Subject: [PATCH] add sleep for PBM to release locks --- pbm-functional/pytest/cluster.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pbm-functional/pytest/cluster.py b/pbm-functional/pytest/cluster.py index 78d19c42..ae10895b 100644 --- a/pbm-functional/pytest/cluster.py +++ b/pbm-functional/pytest/cluster.py @@ -402,6 +402,7 @@ def make_backup(self, type): if snapshot['name'] == name: if snapshot['status'] == 'done': Cluster.log("Backup found: " + str(snapshot)) + time.sleep(1) #wait for releasing locks return name break elif snapshot['status'] == 'error':