RFR JDK-8058204 stream tests timeout, intermittently but more likely to happen after JDK-8056248

Paul Sandoz paul.sandoz at oracle.com
Tue Sep 16 21:45:53 UTC 2014


Hi,

Please see below for a patch to disable concurrent execution of the stream tests by jtreg.

Due to recent f/j changes some stream tests are now timing out. This is because the tests are running concurrently and parallel stream execution in one process is competing for resources with parallel stream execution in another process. This was actually always the case, but the recent f/j changes appear to be more sensitive to OS scheduling effects on some platforms and there is not much we can do about that at the moment.

This is unlikely to increase the overall execution time of the JDK tests by much.

Paul. 

diff -r aabb503ab6de test/TEST.ROOT
--- a/test/TEST.ROOT	Tue Sep 16 23:16:01 2014 +0200
+++ b/test/TEST.ROOT	Tue Sep 16 23:26:11 2014 +0200
@@ -8,7 +8,7 @@
 othervm.dirs=java/awt java/beans javax/accessibility javax/imageio javax/sound javax/print javax/management com/sun/awt sun/awt sun/java2d sun/pisces
 
 # Tests that cannot run concurrently
-exclusiveAccess.dirs=java/rmi/Naming java/util/prefs sun/management/jmxremote sun/tools/jstatd sun/security/mscapi
+exclusiveAccess.dirs=java/rmi/Naming java/util/prefs sun/management/jmxremote sun/tools/jstatd sun/security/mscapi java/util/stream
 
 # Group definitions
 groups=TEST.groups [closed/TEST.groups]




More information about the core-libs-dev mailing list