apache/beam

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

Open

#21,377 opened on Jun 4, 2022

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

Repository metrics

Stars
 (7,313 stars)
PR merge metrics
 (Avg merge 7d 20h) (227 merged PRs in 30d)

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