microsoft / kafka-connect-cosmosdb

Kafka Connect connectors for Azure Cosmos DB
MIT License
51 stars 55 forks source link

fixed bug in test and fixed hashcode method #527

Closed tvaron3 closed 1 year ago

tvaron3 commented 1 year ago

Type of PR

Purpose of PR

The test was comparing the wrong duplicate item. The hashcode for partition key uses the object hashcode, so it is based on reference. Therefore, changed it to use the hascode of the tostring of the partition key to fix functionality.

Observability + Testing

Review notes

Issues Closed or Referenced