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
What changes or considerations did you make in relation to observability?
Did you add testing to account for any new or changed work?
Review notes
Issues Closed or Referenced
Closes # (this will automatically close the issue when the PR closes)
References # (this references the issue but does not close with PR)
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
What changes or considerations did you make in relation to observability?
Did you add testing to account for any new or changed work?
Review notes
Issues Closed or Referenced