[2021/07/12 21:05:23.531] FAIL [0.483s]: test_aggregate_raw_transaction (test_cursor.TestRawBatchCommandCursor) [2021/07/12 21:05:23.531] ---------------------------------------------------------------------- [2021/07/12 21:05:23.531] Traceback (most recent call last): [2021/07/12 21:05:23.531] File "/data/mci/0003e268b07aa97da56ad18432a3b0f9/src/test/__init__.py", line 503, in wrap [2021/07/12 21:05:23.531] return f(*args, **kwargs) [2021/07/12 21:05:23.531] File "/data/mci/0003e268b07aa97da56ad18432a3b0f9/src/test/test_cursor.py", line 1691, in test_aggregate_raw_transaction [2021/07/12 21:05:23.531] self.assertEqual(cmd.command['$clusterTime'], session.cluster_time) [2021/07/12 21:05:23.531] AssertionError: {u'clusterTime': Timestamp(1626123533, 287), u'signature': {u'keyId': 0L, u'hash': Binary('\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 0)}} != RawBSONDocument('X\x00\x00\x00\x11clusterTime\x009\x01\x00\x00\r\xad\xec`\x03signature\x003\x00\x00\x00\x05hash\x00\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x12keyId\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', codec_options=CodecOptions(document_class=<class 'bson.raw_bson.RawBSONDocument'>, tz_aware=False, uuid_representation=UuidRepresentation.PYTHON_LEGACY, unicode_decode_error_handler='strict', tzinfo=None, type_registry=TypeRegistry(type_codecs=[], fallback_encoder=None)))
- is caused by
-
PYTHON-2389 Add session support to find_raw_batches and aggregate_raw_batches
- Closed