Add a property for jtreg timeout (NOT timeout FACTOR, which already exists).
This property should be available via System.getProperty("test.timeout") inside the test's code.
This property should also account for jtreg script, i.e. "@run main/timout=300 MyTest".
If timeout is set in the test @run tag, this property should return this value, and if timeout is not set explicity, the property should return the default value.
This property should be available via System.getProperty("test.timeout") inside the test's code.
This property should also account for jtreg script, i.e. "@run main/timout=300 MyTest".
If timeout is set in the test @run tag, this property should return this value, and if timeout is not set explicity, the property should return the default value.
- blocks
-
JDK-8061247 [TEST] Make jdk/test/lib/testlibrary use the system property "test.timeout" defined by JTREG
-
- Open
-
- relates to
-
JDK-8059070 [TESTBUG] java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed - timeout
-
- Resolved
-