You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/05 17:50:03 UTC

[GitHub] [beam] gpt3ch commented on issue #21377: Find a way to set a default global per-test timeout for Java Java unit tests

gpt3ch commented on issue #21377:
URL: https://github.com/apache/beam/issues/21377#issuecomment-1146856011

   Hello @damccorm , I started looking at this issue. After reading more about this, a way to implement a global timeouts for the unit tests is to create a base test class and specify a Timeout rule in it, then make all the test classes inherit the base test class, this will make all the test cases timeout if they cross the threshold without having to specify @Timeout annotation over each test method. Is this an acceptable solution?


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org