Skip to content

Commit

Permalink
PBM-1264 add timeout before the restore
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak committed Sep 3, 2024
1 parent 4953752 commit 7d77246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pbm-functional/pytest/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,6 @@ def make_restore(self, name, **kwargs):
client = pymongo.MongoClient(self.connection)
result = client.admin.command("balancerStart")
Cluster.log("Starting balancer: " + str(result))
result = client.admin.command("flushRouterConfig")
Cluster.log("Executed flushRouterConfig: " + str(result))
client.close()

# destroys cluster
Expand Down
2 changes: 2 additions & 0 deletions pbm-functional/pytest/test_PBM-1223.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def find_inserted(array_tuples,timestamp):
Cluster.log("test1 inserted count: " + str(inserted_test1))
Cluster.log("test2 inserted count: " + str(inserted_test2))

time.sleep(60)

if backup_type == "logical":
restart = False
else:
Expand Down

0 comments on commit 7d77246

Please sign in to comment.