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

   ### Describe the bug
   The test 
org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testComputePartitionAssignment
 is flaky. 
   The JSON strings in the assertion can change and sometime not pass the 
assertions.
   Using a JSON string, it may change the order of the elements in arrays as 
well as elements on the same level – this leads to a flaky test when directly 
comparing two strings.
   This bug was found using the NonDex engine. 
   
   ### To Reproduce
   run:
   ```shell
   mvn -pl helix-rest edu.illinois:nondex-maven-plugin:2.1.1:nondex 
-Dtest=org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory
   ``` 
   
   ### Expected behavior
   Test should not be flaky – it should pass or fail (in the current case it 
should pass)
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to