From 02b3276ff69c44ecf442a3cda890bce098434fa9 Mon Sep 17 00:00:00 2001 From: Amir Mofakhar Date: Tue, 11 Jun 2024 17:06:12 +0100 Subject: [PATCH] fix e2e test for mongodb --- .../tap_mongodb/test_replicate_mongodb_to_sf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/end_to_end/target_snowflake/tap_mongodb/test_replicate_mongodb_to_sf.py b/tests/end_to_end/target_snowflake/tap_mongodb/test_replicate_mongodb_to_sf.py index 79746d614..c9501ec3a 100644 --- a/tests/end_to_end/target_snowflake/tap_mongodb/test_replicate_mongodb_to_sf.py +++ b/tests/end_to_end/target_snowflake/tap_mongodb/test_replicate_mongodb_to_sf.py @@ -90,17 +90,17 @@ def test_replicate_mongodb_to_sf(self): { 'age': randint(10, 30), 'id': 1001, - 'uuid': uuid.uuid4(), + 'uuid': bson.Binary.from_uuid(uuid.uuid4()), 'ts': bson.Timestamp(12030, 500), }, { 'date': datetime.utcnow(), 'id': 1002, - 'uuid': uuid.uuid4(), + 'uuid': bson.Binary.from_uuid(uuid.uuid4()), 'regex': bson.Regex(r'^[A-Z]\\w\\d{2,6}.*$'), }, { - 'uuid': uuid.uuid4(), + 'uuid': bson.Binary.from_uuid(uuid.uuid4()), 'id': 1003, 'decimal': bson.Decimal128( decimal.Decimal('5.64547548425446546546644')