asdf2014 edited a comment on issue #5978: Extend various test timeouts.
URL: https://github.com/apache/incubator-druid/pull/5978#issuecomment-414039382
 
 
   Hi, @gianm . Maybe put a timeout `Rule` in the head of test class, such as 
`@Rule public Timeout globalTimeout = Timeout.seconds(60)`, which will be 
better than placing the `@Test(timeout = 60_000L)` annotation in each method. 
Also, if we need reduce the timeout value for some special test cases, we can 
add `@Test(timeout = 50_000L)` to them, because there is no priiority 
relationship between the `Test` annotation and the `Rule` instance, it only 
depends on whether the running time of the test case has already satisfy one of 
them first. What do you think?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to