6842023: Improve test reliability, Increase timeout factor on jtreg tests, etc.
authorohair
Mon, 18 May 2009 10:36:38 -0700
changeset 2799 0441b5d34aa0
parent 2798 bf109527150f
child 2800 f7318b0bd705
6842023: Improve test reliability, Increase timeout factor on jtreg tests, etc. Reviewed-by: tbell
jdk/make/jprt.properties
jdk/test/Makefile
jdk/test/java/lang/ThreadGroup/NullThreadName.java
jdk/test/java/util/ResourceBundle/RestrictedBundleTest.java
jdk/test/java/util/WeakHashMap/GCDuringIteration.java
--- a/jdk/make/jprt.properties	Fri May 15 13:21:43 2009 -0700
+++ b/jdk/make/jprt.properties	Mon May 18 10:36:38 2009 -0700
@@ -53,19 +53,19 @@
 
 # Standard list of jprt test targets for this workspace
 jprt.test.targets=*-*-*-jvm98
-jprt.regression.test.targets=  \
-   *-*-*-java/lang,            \
-   *-*-*-java/security,        \
-   *-*-*-java/text,            \
-   *-*-*-java/util
+jprt.regression.test.targets=        \
+   *-product-*-java/lang,            \
+   *-product-*-java/security,        \
+   *-product-*-java/text,            \
+   *-product-*-java/util
 
 #jprt.regression.test.targets=   \
-#   *-*-*-java/awt,       \
-#   *-*-*-java/beans,     \
-#   *-*-*-java/io,        \
-#   *-*-*-java/net,       \
-#   *-*-*-java/nio,       \
-#   *-*-*-java/rmi,       \
+#   *-product-*-java/awt,       \
+#   *-product-*-java/beans,     \
+#   *-product-*-java/io,        \
+#   *-product-*-java/net,       \
+#   *-product-*-java/nio,       \
+#   *-product-*-java/rmi,       \
 
 # Directories needed to build
 jprt.bundle.exclude.src.dirs=build
--- a/jdk/test/Makefile	Fri May 15 13:21:43 2009 -0700
+++ b/jdk/test/Makefile	Mon May 18 10:36:38 2009 -0700
@@ -189,6 +189,7 @@
           $(shell $(GETMIXEDPATH) "$(JTREG)")                                \
             -a -v:fail,error                                                 \
 	    -ignore:quiet                                                    \
+	    -timeoutFactor:2                                                 \
             $(EXTRA_JTREG_OPTIONS)                                           \
             -r:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTreport    \
             -w:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTwork      \
--- a/jdk/test/java/lang/ThreadGroup/NullThreadName.java	Fri May 15 13:21:43 2009 -0700
+++ b/jdk/test/java/lang/ThreadGroup/NullThreadName.java	Mon May 18 10:36:38 2009 -0700
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 6576763
+ * @ignore until hotspot 6776144 bug is resolved
  * @summary (thread) Thread constructors throw undocumented NPE for null name
  */
 
--- a/jdk/test/java/util/ResourceBundle/RestrictedBundleTest.java	Fri May 15 13:21:43 2009 -0700
+++ b/jdk/test/java/util/ResourceBundle/RestrictedBundleTest.java	Mon May 18 10:36:38 2009 -0700
@@ -23,6 +23,7 @@
 /**
  * @test
  * @bug 4126805
+ * @ignore until 6842022 is resolved
  * @run applet RestrictedBundleTest.html
  * @summary I was able to reproduce this bug with 1.2b2, but not with the current 1.2
  * build.  It appears that it was fixed by changes to the class-loading mechanism,
--- a/jdk/test/java/util/WeakHashMap/GCDuringIteration.java	Fri May 15 13:21:43 2009 -0700
+++ b/jdk/test/java/util/WeakHashMap/GCDuringIteration.java	Mon May 18 10:36:38 2009 -0700
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 6499848
+ * @ignore until 6842353 is resolved
  * @summary Check that iterators work properly in the presence of
  *          concurrent finalization and removal of elements.
  */