Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@CharlesZKQ
Copy link

In org/springframework/data/gemfire/config/support/DefinedIndexesIntegrationTests.java, the test indexesCreated() is flaky due to the non-deterministic property of getDeclaredMethods() (please refer document), which is used when creating the list definedIndexNames. I fixed it by sort both the definedIndexNames (actual) and expectedDefinedIndexNames in alphabetical order, so that it is guaranteed that these two are equal to each other.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

2 participants