8024634: gc/startup_warnings tests can fail due to unrelated warnings
authorpliden
Tue, 15 Oct 2013 11:44:47 +0200
changeset 20727 ddc045e1ccdd
parent 20726 24d58c45500d
child 20728 25114f3ae9af
8024634: gc/startup_warnings tests can fail due to unrelated warnings Reviewed-by: brutisso, jwilhelm, tamao
hotspot/test/gc/startup_warnings/TestCMS.java
hotspot/test/gc/startup_warnings/TestCMSNoIncrementalMode.java
hotspot/test/gc/startup_warnings/TestG1.java
hotspot/test/gc/startup_warnings/TestParNewCMS.java
hotspot/test/gc/startup_warnings/TestParallelGC.java
hotspot/test/gc/startup_warnings/TestParallelScavengeSerialOld.java
hotspot/test/gc/startup_warnings/TestSerialGC.java
--- a/hotspot/test/gc/startup_warnings/TestCMS.java	Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestCMS.java	Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldNotContain("warning");
+    output.shouldNotContain("deprecated");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }
--- a/hotspot/test/gc/startup_warnings/TestCMSNoIncrementalMode.java	Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestCMSNoIncrementalMode.java	Tue Oct 15 11:44:47 2013 +0200
@@ -37,7 +37,7 @@
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-XX:-CMSIncrementalMode", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldNotContain("warning");
+    output.shouldNotContain("deprecated");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }
--- a/hotspot/test/gc/startup_warnings/TestG1.java	Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestG1.java	Tue Oct 15 11:44:47 2013 +0200
@@ -37,7 +37,7 @@
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldNotContain("warning");
+    output.shouldNotContain("deprecated");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }
--- a/hotspot/test/gc/startup_warnings/TestParNewCMS.java	Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestParNewCMS.java	Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParNewGC", "-XX:+UseConcMarkSweepGC", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldNotContain("warning");
+    output.shouldNotContain("deprecated");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }
--- a/hotspot/test/gc/startup_warnings/TestParallelGC.java	Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestParallelGC.java	Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldNotContain("warning");
+    output.shouldNotContain("deprecated");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }
--- a/hotspot/test/gc/startup_warnings/TestParallelScavengeSerialOld.java	Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestParallelScavengeSerialOld.java	Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-XX:-UseParallelOldGC", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldNotContain("warning");
+    output.shouldNotContain("deprecated");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }
--- a/hotspot/test/gc/startup_warnings/TestSerialGC.java	Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestSerialGC.java	Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
   public static void main(String args[]) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseSerialGC", "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
-    output.shouldNotContain("warning");
+    output.shouldNotContain("deprecated");
     output.shouldNotContain("error");
     output.shouldHaveExitValue(0);
   }