-
Type: Build Failure
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
[2023/08/29 18:47:45.308] FAILURE: AssertionError: '$db' not found in SON([('getMore', 308644285295067228), ('collection', 'collection'), ('batchSize', 2), ('lsid', {'id': Binary(b'v\xd2-\x00m\rA%\xab/\xb1\xf9\x13\xb0+\xfc', 4)}), ('$clusterTime', {'clusterTime': Timestamp(1693334838, 21), 'signature': {'hash': b'[\xb9&?\xaf(\x04Pn<\xdc\x0c\xe6\x96\x8e\xd5^{\x8d\xdc', 'keyId': 7217942937521356802}})]) () [2023/08/29 18:47:45.308] self = <test.test_run_command.TestUnifiedRunCursorCommand testMethod=test_returns_pinned_connections_to_the_pool_when_the_cursor_is_exhausted> [2023/08/29 18:47:45.308] def test_case(self): [2023/08/29 18:47:45.308] > self.run_scenario(spec) [2023/08/29 18:47:45.308] test/unified_format.py:1705: [2023/08/29 18:47:45.308] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2023/08/29 18:47:45.308] test/unified_format.py:1657: in run_scenario [2023/08/29 18:47:45.308] self._run_scenario(spec, uri) [2023/08/29 18:47:45.308] test/unified_format.py:1688: in _run_scenario [2023/08/29 18:47:45.308] self.check_events(expect_events) [2023/08/29 18:47:45.308] test/unified_format.py:1613: in check_events [2023/08/29 18:47:45.308] self.match_evaluator.match_event(event_type, expected_event, actual_events[idx]) [2023/08/29 18:47:45.308] test/unified_format.py:789: in match_event [2023/08/29 18:47:45.308] self.match_result(command, actual.command) [2023/08/29 18:47:45.308] test/unified_format.py:729: in match_result [2023/08/29 18:47:45.308] return self._match_document(expectation, actual, is_root=not in_recursive_call) [2023/08/29 18:47:45.308] test/unified_format.py:717: in _match_document [2023/08/29 18:47:45.308] self.test.assertIn(key, actual) [2023/08/29 18:47:45.308] E AssertionError: '$db' not found in SON([('getMore', 308644285295067228), ('collection', 'collection'), ('batchSize', 2), ('lsid', {'id': Binary(b'v\xd2-\x00m\rA%\xab/\xb1\xf9\x13\xb0+\xfc', 4)}), ('$clusterTime', {'clusterTime': Timestamp(1693334838, 21), 'signature': {'hash': b'[\xb9&?\xaf(\x04Pn<\xdc\x0c\xe6\x96\x8e\xd5^{\x8d\xdc', 'keyId': 7217942937521356802}})])
- is caused by
-
PYTHON-4007 PyMongo incorrectly sets exhaustAllowed on getMores when connected to Serverless or load balanced mode
- Closed