jihoonson opened a new pull request #11626:
URL: https://github.com/apache/druid/pull/11626


   ### Description
   
   This PR adds a new function, `sleep`, that makes the current thread sleep 
for the given amount of seconds. This function is applied per row, and thus 
Druid does not guarantee the consistent sleep time across queries. Instead, the 
actual sleep time can vary depending on how much parallelism is used for each 
query. As a result, this function is intended to use only for testing when you 
want to keep some query running for a long period.
   
   <hr>
   
   ##### Key changed/added classes in this PR
    * `Sleep`
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   


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