apache/beam

Find a way to set a default global per-test timeout for Java Java unit tests

Open

#21377 opened on Jun 4, 2022

View on GitHub
 (12 comments) (0 reactions) (1 assignee)Java (7,313 stars) (4,097 forks)batch import
P2good first issueimprovementtests

Description

Apparently java unit tests don't have timeouts. And as far as I can tell, Junit lets you set timeouts for individual tests and test classes, but provides no easy way to set a global timeout across multiple classes.

Imported from Jira BEAM-13523. Original Jira may contain additional context. Reported by: ibzib.

Contributor guide