-
Type: Build Failure
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
In PYTHON-4072 we skipped this test for standalones due to a change in behavior in latest, but the issue is also occurring with replica sets.
test.test_database.TestDatabase.test_validate_collection_background
[2023/12/07 16:15:15.773] FAILURE: pymongo.errors.OperationFailure: Collection 'pymongo_test.test' does not exist to validate., full error: {'ok': 0.0, 'errmsg': "Collection 'pymongo_test.test' does not exist to validate.", 'code': 26, 'codeName': 'NamespaceNotFound', '$clusterTime': {'clusterTime': Timestamp(1701987016, 7), 'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'keyId': 0}}, 'operationTime': Timestamp(1701987016, 7)} () [2023/12/07 16:15:15.773] self = <test.test_database.TestDatabase testMethod=test_validate_collection_background> [2023/12/07 16:15:15.773] @client_context.require_version_min(4, 3, 3) [2023/12/07 16:15:15.773] @client_context.require_no_standalone [2023/12/07 16:15:15.773] def test_validate_collection_background(self): [2023/12/07 16:15:15.773] db = self.client.pymongo_test [2023/12/07 16:15:15.773] db.test.insert_one({"dummy": "object"}) [2023/12/07 16:15:15.773] coll = db.test [2023/12/07 16:15:15.773] self.assertTrue(db.validate_collection(coll, background=False)) [2023/12/07 16:15:15.773] # The inMemory storage engine does not support background=True. [2023/12/07 16:15:15.773] if client_context.storage_engine != "inMemory": [2023/12/07 16:15:15.773] > self.assertTrue(db.validate_collection(coll, background=True)) [2023/12/07 16:15:15.773] test/test_database.py:386:
- is caused by
-
SERVER-70779 background validation fails due to inconsistent view of index spec and keys
- Closed
- is duplicated by
-
PYTHON-4086 [Build Failure] test_validate_collection_background
- Closed
- is related to
-
PYTHON-4072 Flaky test: test.test_database.TestDatabase.test_validate_collection_background
- Closed