diff --git a/pbm-functional/pytest/test_drop_pitr.py b/pbm-functional/pytest/test_drop_pitr.py index 171ff0d..6a840c2 100644 --- a/pbm-functional/pytest/test_drop_pitr.py +++ b/pbm-functional/pytest/test_drop_pitr.py @@ -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})