You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/12/09 23:07:41 UTC

[GitHub] [helix] kaisun2000 opened a new issue #1585: Flaky test TestWagedRebalance.testRebalanceTool()

kaisun2000 opened a new issue #1585:
URL: https://github.com/apache/helix/issues/1585


   ### Describe the bug
   TestWagedRebalance.testRebalanceTool can be flaky. This is found during per replica throttle PR testing. It turned out not related to per replica throttle but the test itself is flaky.
   
   After much debugging with logs enabled, the root cause is that controller has async mode of baseline calculation while the simulate tool uses sync model. 
   
   With setting controller to sync model, 100 times run would consistently pass.
   
   ### To Reproduce
   >[ERROR] Tests run: 1260, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5,725.837 s <<< FAILURE! - in TestSuite
   [ERROR] testRebalanceTool(org.apache.helix.integration.rebalancer.WagedRebalancer.TestWagedRebalance)  Time elapsed: 1.574 s  <<< FAILURE!
   java.lang.AssertionError: Maps do not match for key:localhost_12918 actual:MASTER expected:SLAVE expected:<SLAVE> but was:<MASTER>
   	at org.apache.helix.integration.rebalancer.WagedRebalancer.TestWagedRebalance.testRebalanceTool(TestWagedRebalance.java:214)
   
   [INFO] 
   [INFO] Results:
   [INFO] 
   [ERROR] Failures: 
   [ERROR]   TestWagedRebalance.testRebalanceTool:214 Maps do not match for key:localhost_12918 actual:MASTER expected:SLAVE expected:<SLAVE> but was:<MASTER>
   
   ### Expected behavior
   A clear and concise description of what you expected to happen.
   
   ### Additional context
   Add any other context about the problem here.
   


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

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


[GitHub] [helix] pkuwm closed issue #1585: Flaky test TestWagedRebalance.testRebalanceTool()

Posted by GitBox <gi...@apache.org>.
pkuwm closed issue #1585:
URL: https://github.com/apache/helix/issues/1585


   


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

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