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

   ### Describe the bug
   These tests has flakiness with some reason
   ```
   
org.apache.helix.rest.server.json.cluster.TestClusterInfo#whenSerializingClusterInfo
   
org.apache.helix.rest.server.json.cluster.TestClusterTopology#whenSerializingClusterTopology
   
org.apache.helix.rest.server.json.instance.TestStoppableCheck#whenSerializingStoppableCheck
   ```
   
   ### To Reproduce
   The flakiness was found with 
[NonDex.](https://github.com/TestingResearchIllinois/NonDex))
   After installing NonDex and run the following code.
   cd nifi
   ```
   mvn install -pl helix-rest -am -DskipTests
   mvn -pl helix-rest edu.illinois:nondex- 
     maven-plugin:2.1:nondex - 
     
Dtest=org.apache.helix.rest.server.json.cluster.TestClusterInfo#whenSerializingClusterInfo
   ```
   
   ### Expected behavior
   The test flakiness is due to comparisons between Json Strings.
   However, JsonObject does not guarantee entry orders, its object is an 
unordered set of name/value pairs, and internal permutations may occur in the 
output as JSON String.
   
   ### Additional context
   Null
   


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