changeset 1213:fdbc48164a8b

6842023: Improve test reliability, Increase timeout factor on jtreg tests, etc. Reviewed-by: tbell
author ohair
date Mon, 18 May 2009 10:36:38 -0700
parents 97064d73976f
children c06d30bd8c69
files make/jprt.properties test/Makefile test/java/lang/ThreadGroup/NullThreadName.java test/java/util/ResourceBundle/RestrictedBundleTest.java test/java/util/WeakHashMap/GCDuringIteration.java
diffstat 5 files changed, 15 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/make/jprt.properties	Fri May 15 13:21:43 2009 -0700
+++ b/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/test/Makefile	Fri May 15 13:21:43 2009 -0700
+++ b/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/test/java/lang/ThreadGroup/NullThreadName.java	Fri May 15 13:21:43 2009 -0700
+++ b/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/test/java/util/ResourceBundle/RestrictedBundleTest.java	Fri May 15 13:21:43 2009 -0700
+++ b/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/test/java/util/WeakHashMap/GCDuringIteration.java	Fri May 15 13:21:43 2009 -0700
+++ b/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.
  */