You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by "hofi1 (via GitHub)" <gi...@apache.org> on 2023/10/05 03:55:30 UTC

[I] flaky test org.apache.helix.rest.server.TestInstancesAccessor#testGetAllInstances [helix]

hofi1 opened a new issue, #2644:
URL: https://github.com/apache/helix/issues/2644

   ### Describe the bug
   The test org.apache.helix.rest.server.TestInstancesAccessor#testGetAllInstances 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:
   ```shell
   mvn -pl helix-rest edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dtest=org.apache.helix.rest.server.TestInstancesAccessor
   ``` 
   
   ### 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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org


Re: [I] flaky test org.apache.helix.rest.server.TestInstancesAccessor#testGetAllInstances [helix]

Posted by "junkaixue (via GitHub)" <gi...@apache.org>.
junkaixue closed issue #2644: flaky test org.apache.helix.rest.server.TestInstancesAccessor#testGetAllInstances
URL: https://github.com/apache/helix/issues/2644


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org