Skip to content

Conversation

@CharlesZKQ
Copy link
Contributor

In org.springframework.data.cassandra.core.query.CriteriaUnitTests, the tests shouldCreateIsInSet() is flaky due to the non-deterministic property of HashSet (please refer document).I fixed by changing the HashSet to LinkedHashSet, which guarantees the order of value added into the set and eliminates the flakiness of this test.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 22, 2021
@mp911de mp911de merged commit 1c02d4c into spring-projects:main Dec 7, 2021
@mp911de mp911de added this to the 3.4 M1 (2022.0.0) milestone Dec 7, 2021
@mp911de mp911de added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 7, 2021
@mp911de
Copy link
Member

mp911de commented Dec 7, 2021

Thank you for your contribution. That's merged now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

3 participants