Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
Description
HADOOP-9112 has added a requirement for all new test methods to declare a timeout, so that jenkins/maven builds will have better information on a timeout.
Hard coding timeouts into tests is dangerous as it will generate spurious failures on slower machines/networks and when debugging a test.
I propose providing a custom JUnit4 test runner that test cases can declare as their test runner; this can provide timeouts specified at run-time, rather than in-source.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-12439 test-patch should -1 for @Tests without a timeout
- Reopened