Closed
Description
Describe the bug
The test org.apache.helix.rest.server.TestResourceAccessor#testGetResources has a flaky assertion.
The test compares two Sets for containing the same elements in the same order - but it is not deterministic in which order the elements are returned from a set - resulting in a flaky test.
To Reproduce
It was found using the NonDex engine and can be reproduced using the following command:
mvn -pl helix-rest edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dtest=org.apache.helix.rest.server.TestResourceAccessor
Expected behavior
It is expected that the test checks if the collections contain the same elements in any order and not in a specific order.
Additional context
non