Github user shroman commented on a diff in the pull request:

    https://github.com/apache/incubator-rocketmq/pull/145#discussion_r134962143
  
    --- Diff: 
client/src/test/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMessageQueueConsitentHashTest.java
 ---
    @@ -92,9 +92,9 @@ public void testAllocate2() {
     
         @Test
         public void testRun100RandomCase() {
    -        for (int i = 0; i < 100; i++) {
    -            int consumerSize = new Random().nextInt(200) + 1;//1-200
    -            int queueSize = new Random().nextInt(100) + 1;//1-100
    +        for (int i = 0; i < 10; i++) {
    +            int consumerSize = new Random().nextInt(20) + 1;//1-20
    --- End diff --
    
    @vongosling If you have stress tests for this, I think low numbers here are 
ok.
    Btw, how do/will you verify it?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to