8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout
authorjbachorik
Wed, 13 May 2015 10:17:38 +0200
changeset 30799 d2a195296378
parent 30675 94206e28ec64
child 30800 c1691404bf0a
8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout Reviewed-by: sla
jdk/test/java/lang/instrument/PremainClass/NoPremainAgentTest.java
jdk/test/java/lang/instrument/PremainClass/ZeroArgPremainAgentTest.java
--- a/jdk/test/java/lang/instrument/PremainClass/NoPremainAgentTest.java	Tue May 12 13:57:46 2015 -0400
+++ b/jdk/test/java/lang/instrument/PremainClass/NoPremainAgentTest.java	Wed May 13 10:17:38 2015 +0200
@@ -33,7 +33,7 @@
  * @modules java.management
  * @run build jdk.testlibrary.* DummyMain
  * @run shell ../MakeJAR3.sh NoPremainAgent
- * @run main NoPremainAgentTest
+ * @run main/othervm -XX:-CreateCoredumpOnCrash NoPremainAgentTest
  */
 public class NoPremainAgentTest {
     // Use a javaagent without the premain() function.
--- a/jdk/test/java/lang/instrument/PremainClass/ZeroArgPremainAgentTest.java	Tue May 12 13:57:46 2015 -0400
+++ b/jdk/test/java/lang/instrument/PremainClass/ZeroArgPremainAgentTest.java	Wed May 13 10:17:38 2015 +0200
@@ -33,7 +33,7 @@
  * @modules java.management
  * @run build jdk.testlibrary.* DummyMain
  * @run shell ../MakeJAR3.sh ZeroArgPremainAgent
- * @run main ZeroArgPremainAgentTest
+ * @run main/othervm -XX:-CreateCoredumpOnCrash ZeroArgPremainAgentTest
  */
 public class ZeroArgPremainAgentTest {
     // Use a javaagent with a zero argument premain() function.