-
Bug
-
Resolution: Fixed
-
P4
-
jfx22
-
b11
The JUnit `@Test` annotation takes an optional timeout parameter that will abort the test after a certain amount of time.
In the absence of this optional parameter, gradle's test runner, which is used to run our JUnit tests, will run indefinitely. We should explore whether there is a way to set a default timeout when one is not specified.
The lack of such a global timeout is a problem when running automated tests using a Jenkins (or similar) build system.
WORKAROUND: The only feasible workaround is to have a global job timeout on the Jenkins job. That is problematic since the timeout would need to be very long (on the order of 4 hours) to ensure that a build and test run done on a slower system was never killed prematurely.
In the absence of this optional parameter, gradle's test runner, which is used to run our JUnit tests, will run indefinitely. We should explore whether there is a way to set a default timeout when one is not specified.
The lack of such a global timeout is a problem when running automated tests using a Jenkins (or similar) build system.
WORKAROUND: The only feasible workaround is to have a global job timeout on the Jenkins job. That is problematic since the timeout would need to be very long (on the order of 4 hours) to ensure that a build and test run done on a slower system was never killed prematurely.
- is blocked by
-
JDK-8339510 [TestBug] Convert system tests to JUnit 5
- Resolved
- relates to
-
JDK-8238505 [macOS] Intermittent deadlock on exit in MacTimer
- Open
-
JDK-8340405 JavaFX shutdown hook can hang preventing app from exiting
- Resolved
-
JDK-8339170 ☂ Convert tests to JUnit 5
- Open
- links to
-
Commit(master) openjdk/jfx/29004352
-
Review(master) openjdk/jfx/1575
(1 links to)