apache/beam

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

Open

#21.377 geöffnet am 4. Juni 2022

Auf GitHub ansehen
 (12 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Java (4.097 Forks)batch import
P2good first issueimprovementtests

Repository-Metriken

Stars
 (7.313 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T) (243 gemergte PRs in 30 T)

Beschreibung

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