BewareMyPower commented on issue #6732: Auto update topic partitions for C++ 
client
URL: https://github.com/apache/pulsar/pull/6732#issuecomment-615160135
 
 
   > @BewareMyPower thanks for the great work. Seems it is not normal for the 
cpp tests failure.
   > Could the tests get success in your local env?
   
   Now I've found where the problem is.  The tests stuck at the loop in 
`TEST(BasicEndToEndTest, testPartitionTopicUnAckedMessageTimeout)`:
   
   ```c++
       while (true) {
           // maximum wait time
           ASSERT_LE(timeWaited, unAckedMessagesTimeoutMs * 3);
           if (messagesReceived >= 10 * 2) {  // **Problem**: Never reached here
               break;
           }
           std::this_thread::sleep_for(std::chrono::milliseconds(500));
           timeWaited += 500;
       }
   ```
   
   It seems that `MessageListener` doesn't work after my commits. I will try to 
solve it.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to