loquisgon commented on a change in pull request #11536:
URL: https://github.com/apache/druid/pull/11536#discussion_r686185379



##########
File path: 
server/src/test/java/org/apache/druid/segment/realtime/appenderator/BatchAppenderatorTest.java
##########
@@ -913,6 +939,10 @@ static InputRow createInputRow(String ts, String dim, 
Object met)
     );
   }
 
+  private void waitForPersists() throws InterruptedException
+  {
+    Thread.sleep(500);

Review comment:
       The use case here is somehow wait for a concurrent task to check on its 
effect, it seems like a legitimate use for sleep. Let me know what you are 
thinking that could be better.




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