RFR 9 test-only RFR 8177328 : java/lang/ClassLoader/securityManager/ClassLoaderTest.java times out with -Xcomp

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon May 1 22:21:17 UTC 2017


A timeout of 1200 seconds (20 minutes) is pretty extreme.

If you are testing configurations with -Xcomp. you might do better to 
use the jtreg command-line option -timeoutfactor instead.

-- Jon

On 04/27/2017 12:08 PM, Brent Christian wrote:
> Hi,
>
> This test times out under our automated testing configurations that 
> include -Xcomp.
>
> Please review my change to increase the timeout for this test.  It is 
> sufficient for the test configurations in question to pass on two 
> different local machines (Mac & Linux).
>
> diff -r 7c04ab31b4d6 
> test/java/lang/ClassLoader/securityManager/ClassLoaderTest.java
> --- a/test/java/lang/ClassLoader/securityManager/ClassLoaderTest.java 
> Wed Apr 26 09:37:23 2017 -0700
> +++ b/test/java/lang/ClassLoader/securityManager/ClassLoaderTest.java 
> Thu Apr 27 12:03:33 2017 -0700
> @@ -29,7 +29,7 @@
>   * @library /lib/testlibrary
>   * @modules java.base/jdk.internal.module
>   * @build JarUtils CompilerUtils
> - * @run main/timeout=240 ClassLoaderTest
> + * @run main/timeout=1200 ClassLoaderTest
>   */
>
> Thanks,
> -Brent



More information about the core-libs-dev mailing list