Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBM-1264 add timeout before the restore #206

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading