mirromutth / r2dbc-mysql

R2DBC MySQL Implementation
Apache License 2.0
656 stars 98 forks source link

fix flaky test in SetCodecTest.java #216

Closed YujiaYan0709 closed 3 years ago

YujiaYan0709 commented 3 years ago

As in sets it used HashSet to store the String array, the order of the String is non-deterministic. I changed it to LinkedHashSet so it will convert the array into set while still maintaining the order. This will fix the flaky bug in binarySet and stringifySet.

mirromutth commented 3 years ago

Hi there, thanks a lot for your contribution.