Description
Failing on latest in v3.11 and v3.12:
[2021/02/02 04:52:44.185] ERROR [0.080s]: test_errors (test_database.TestDatabase)
|
[2021/02/02 04:52:44.185] ----------------------------------------------------------------------
|
[2021/02/02 04:52:44.185] Traceback (most recent call last):
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\test\__init__.py", line 444, in wrap
|
[2021/02/02 04:52:44.185] return f(*args, **kwargs)
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\test\utils.py", line 743, in wrapper
|
[2021/02/02 04:52:44.185] return wrapped(*args, **kwargs)
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\test\test_database.py", line 452, in test_errors
|
[2021/02/02 04:52:44.185] db.reset_error_history()
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\database.py", line 1218, in reset_error_history
|
[2021/02/02 04:52:44.185] self.command("reseterror")
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\database.py", line 740, in command
|
[2021/02/02 04:52:44.185] codec_options, session=session, **kwargs)
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\database.py", line 637, in _command
|
[2021/02/02 04:52:44.185] client=self.__client)
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\pool.py", line 694, in command
|
[2021/02/02 04:52:44.185] exhaust_allowed=exhaust_allowed)
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\network.py", line 161, in command
|
[2021/02/02 04:52:44.185] parse_write_concern_error=parse_write_concern_error)
|
[2021/02/02 04:52:44.185] File "C:\data\mci\602ff7478793f1996ac67c9358e3ce05\src\pymongo\helpers.py", line 164, in _check_command_response
|
[2021/02/02 04:52:44.185] raise OperationFailure(errmsg, code, response, max_wire_version)
|
[2021/02/02 04:52:44.185] OperationFailure: no such command: 'reseterror', full error: {u'codeName': u'CommandNotFound', u'code': 59, u'ok': 0.0, u'errmsg': u"no such command: 'reseterror'"}
|
Attachments
Issue Links
- is caused by
-
SERVER-47817 Remove resetError command
-
- Closed
-