Skip to content

Commit

Permalink
Fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak committed Dec 11, 2024
1 parent 4ef9fcc commit 1d8ad07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pbm-functional/pytest/test_drop_pitr.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ def test_load_drop_pitr_PBM_T281(start_cluster,cluster,restore_type,primary_shar
# catch the logs from mongos on connection timeout error
except pymongo.errors.AutoReconnect as e:
mongos_logs = docker.from_env().containers.get('mongos').logs().decode("utf-8", errors="replace")
assert False, e + mongos_logs
assert False, str(e) + "\nMongos logs:\n" +str(mongos_logs)
for i in range(10):
assert client["testdb"]["test"].find_one({"key": i + 100, "data": i + 100})

0 comments on commit 1d8ad07

Please sign in to comment.