8145869: Mark test JMXStartStopTest.java and TestJstatdServer.java as intermittently failing
Reviewed-by: darcy
--- 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