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

   ### Describe the bug
   The test 
org.apache.helix.rest.server.TestResourceAssignmentOptimizerAccessor#testComputePartitionAssignment
 is flaky. The JSON strings in the assertion can change and sometime not pass 
the assertions.
   
   ### To Reproduce
   mvn -pl helix-rest edu.illinois:nondex-maven-plugin:2.1.1:nondex 
-Dtest=org.apache.helix.rest.server.TestResourceAssignmentOptimizerAccessor#testComputePartitionAssignment
   
   ### Expected behavior
   Test should not be flaky – it should pass or fail (in the current case it 
should pass)
   
   ### Additional context
   Change the assertions from JUNIT-Assertions to JSONAssertions.
   


-- 
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