test_session.TestSession.test_unacknowledged_writes occasionally fails on MongoDB 4.3-latest with:
[2019/12/02 12:51:40.730] ERROR [0.453s]: test_unacknowledged_writes (test_session.TestSession) [2019/12/02 12:51:40.731] ---------------------------------------------------------------------- [2019/12/02 12:51:40.731] Traceback (most recent call last): [2019/12/02 12:51:40.731] File "/data/mci/973acb7cf68f5d3113300312d29f4a67/src/test/test_session.py", line 92, in tearDown [2019/12/02 12:51:40.731] self.client.drop_database('pymongo_test') [2019/12/02 12:51:40.731] File "/data/mci/973acb7cf68f5d3113300312d29f4a67/src/pymongo/mongo_client.py", line 1967, in drop_database [2019/12/02 12:51:40.731] session=session) [2019/12/02 12:51:40.731] File "/data/mci/973acb7cf68f5d3113300312d29f4a67/src/pymongo/database.py", line 630, in _command [2019/12/02 12:51:40.731] client=self.__client) [2019/12/02 12:51:40.731] File "/data/mci/973acb7cf68f5d3113300312d29f4a67/src/pymongo/pool.py", line 613, in command [2019/12/02 12:51:40.731] user_fields=user_fields) [2019/12/02 12:51:40.731] File "/data/mci/973acb7cf68f5d3113300312d29f4a67/src/pymongo/network.py", line 167, in command [2019/12/02 12:51:40.731] parse_write_concern_error=parse_write_concern_error) [2019/12/02 12:51:40.731] File "/data/mci/973acb7cf68f5d3113300312d29f4a67/src/pymongo/helpers.py", line 159, in _check_command_response [2019/12/02 12:51:40.731] raise OperationFailure(msg % errmsg, code, response) [2019/12/02 12:51:40.731] OperationFailure: cannot perform operation: a background operation is currently running for database pymongo_test
We should track down the server change that causes this error and/or fix this test.
- causes
-
PYTHON-2041 Test failure - test_session.TestSession.test_user_admin
- Closed
- related to
-
SERVER-46123 Make the dropDatabase command abort in-progress index builds
- Closed
-
SERVER-33634 Allow dropDatabase (and dropCollection) to succeed when index build is in progress
- Closed