~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test_driver is a Catch v2.2.1 host application. Run with -? for options ------------------------------------------------------------------------------- lsid collection::find_one_and_delete ------------------------------------------------------------------------------- ../src/mongocxx/test/client_session.cpp:530 ............................................................................... ../src/mongocxx/test/client_session.cpp:530: FAILED: due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- lsid collection::find_one_and_replace ------------------------------------------------------------------------------- ../src/mongocxx/test/client_session.cpp:539 ............................................................................... ../src/mongocxx/test/client_session.cpp:539: FAILED: due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- lsid collection::find_one_and_update ------------------------------------------------------------------------------- ../src/mongocxx/test/client_session.cpp:548 ............................................................................... ../src/mongocxx/test/client_session.cpp:548: FAILED: due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_replace works without return replacement returns original ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1197 ............................................................................... ../src/mongocxx/test/collection.cpp:1197: FAILED: {Unknown expression after the reported line} due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_replace works with return replacement returns new ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1211 ............................................................................... ../src/mongocxx/test/collection.cpp:1211: FAILED: {Unknown expression after the reported line} due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_replace works with collation ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1227 ............................................................................... ../src/mongocxx/test/collection.cpp:1246: FAILED: {Unknown expression after the reported line} due to unexpected exception with messages: unacknowledged write concern fails default write concern succeeds write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_replace works bad criteria returns negative optional ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1261 ............................................................................... ../src/mongocxx/test/collection.cpp:1261: FAILED: {Unknown expression after the reported line} due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_replace works bypass_document_validation ignores validation_criteria ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1277 ............................................................................... ../src/mongocxx/test/collection.cpp:1297: FAILED: REQUIRE_NOTHROW( doc = coll.find_one_and_replace(criteria.view(), replacement.view(), options) ) due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_update works without return update returns original ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1308 ............................................................................... ../src/mongocxx/test/collection.cpp:1308: FAILED: {Unknown expression after the reported line} due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_update works with return update returns new ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1324 ............................................................................... ../src/mongocxx/test/collection.cpp:1324: FAILED: {Unknown expression after the reported line} due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_update works with collation ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1340 ............................................................................... ../src/mongocxx/test/collection.cpp:1359: FAILED: {Unknown expression after the reported line} due to unexpected exception with messages: unacknowledged write concern fails default write concern succeeds write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_update works bad criteria returns negative optional ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1375 ............................................................................... ../src/mongocxx/test/collection.cpp:1375: FAILED: {Unknown expression after the reported line} due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_update works bypass_document_validation ignores validation_criteria ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1391 ............................................................................... ../src/mongocxx/test/collection.cpp:1411: FAILED: REQUIRE_NOTHROW( doc = coll.find_one_and_update(criteria.view(), update.view(), options) ) due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_delete works delete one deletes one and returns it ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1421 ............................................................................... ../src/mongocxx/test/collection.cpp:1421: FAILED: {Unknown expression after the reported line} due to unexpected exception with message: write concern object cannot be empty: generic server error ------------------------------------------------------------------------------- CRUD functionality find_one_and_delete works with collation ------------------------------------------------------------------------------- ../src/mongocxx/test/collection.cpp:1438 ............................................................................... ../src/mongocxx/test/collection.cpp:1456: FAILED: {Unknown expression after the reported line} due to unexpected exception with messages: unacknowledged write concern fails default write concern succeeds write concern object cannot be empty: generic server error =============================================================================== test cases: 201 | 199 passed | 2 failed assertions: 2546 | 2531 passed | 15 failed