Skip to content

Conversation

@CharlesZKQ
Copy link
Contributor

@CharlesZKQ CharlesZKQ commented Nov 22, 2021

In org.springframework.data.jdbc.core.convert.SqlIdentifierParameterSource, the test addOtherDatabaseObjectIdentifierParameterSource() is flaky due to the non-deterministic property of HashMap (please refer document). it is internally invoked by getParameterNames(). I fixed by sorting the generated array in alphabetical order, which eliminates the possibility of different orders

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 22, 2021
@schauder
Copy link
Contributor

Please incorporate this in #1097

@schauder schauder closed this Nov 24, 2021
CharlesZKQ added a commit to CharlesZKQ/spring-data-jdbc that referenced this pull request Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants