lhotari commented on a change in pull request #13826:
URL: https://github.com/apache/pulsar/pull/13826#discussion_r787523591



##########
File path: 
pulsar-broker/src/test/java/org/apache/pulsar/broker/resourcegroup/RGUsageMTAggrWaitForAllMsgsTest.java
##########
@@ -84,6 +84,7 @@ public long computeLocalQuota(long confUsage, long myUsage, 
long[] allUsages) {
         this.rgservice = new ResourceGroupService(pulsar, TimeUnit.SECONDS, 
transportMgr, dummyQuotaCalc);
 
         this.prepareRGs();
+        Thread.sleep(2000);

Review comment:
       @codelipenghui Although the Thread.sleep isn't optimal, I'd like to 
merge this PR since the test is extremely flaky. @liudezhi2098 please attempt 
the suggested improvement in a new PR.




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


Reply via email to