8145869: Mark test JMXStartStopTest.java and TestJstatdServer.java as intermittently failing
authoramlu
Tue, 22 Dec 2015 11:07:17 +0800
changeset 34780 e4e98944903e
parent 34779 b48aefdd9a34
child 34781 479b1724ab80
8145869: Mark test JMXStartStopTest.java and TestJstatdServer.java as intermittently failing Reviewed-by: darcy
jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java
jdk/test/sun/tools/jstatd/TestJstatdServer.java
--- a/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java	Mon Dec 21 23:00:15 2015 +0100
+++ b/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java	Tue Dec 22 11:07:17 2015 +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";
--- a/jdk/test/sun/tools/jstatd/TestJstatdServer.java	Mon Dec 21 23:00:15 2015 +0100
+++ b/jdk/test/sun/tools/jstatd/TestJstatdServer.java	Tue Dec 22 11:07:17 2015 +0800
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 4990825
+ * @key intermittent
  * @library /lib/testlibrary
  * @modules java.management
  * @build jdk.testlibrary.* JstatdTest JstatGCUtilParser