sun/management/jmxremote/startstop/JMXStartStopTest.java
sun/tools/jstatd/TestJstatdServer.java

Above tests are known to fail intermittently, this patch is to mark the test accordingly with keyword 'intermittent'.

bug: https://bugs.openjdk.java.net/browse/JDK-8145869
webrev: http://cr.openjdk.java.net/~amlu/8145869/webrev.00/

Thanks,
Amy

--- old/test/sun/management/jmxremote/startstop/JMXStartStopTest.java   
2015-12-21 12:41:00.000000000 +0800
+++ new/test/sun/management/jmxremote/startstop/JMXStartStopTest.java   
2015-12-21 12:41:00.000000000 +0800
@@ -58,7 +58,7 @@
  * @run main/othervm/timeout=600 -XX:+UsePerfData JMXStartStopTest
  * @summary Makes sure that enabling/disabling the management agent through 
JCMD
  *          achieves the desired results
- * @key randomness
+ * @key randomness intermittent
  */
 public class JMXStartStopTest {
     private static final String TEST_APP_NAME = "TestApp";
--- old/test/sun/tools/jstatd/TestJstatdServer.java     2015-12-21 
12:41:01.000000000 +0800
+++ new/test/sun/tools/jstatd/TestJstatdServer.java     2015-12-21 
12:41:01.000000000 +0800
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 4990825
+ * @key intermittent
  * @library /lib/testlibrary
  * @modules java.management
  * @build jdk.testlibrary.* JstatdTest JstatGCUtilParser


Reply via email to