8021774: [TESTBUG] Tests failed because of a warning in its output
authorhseigel
Mon, 23 Dec 2013 10:13:42 -0500
changeset 22193 530963406a44
parent 22192 15caf5793272
child 22195 c39aa322d33a
8021774: [TESTBUG] Tests failed because of a warning in its output Summary: Remove check for warning Reviewed-by: zgu, mseledtsov Contributed-by: george.triantafillou@oracle.com
hotspot/test/runtime/NMT/CommandLineDetail.java
hotspot/test/runtime/NMT/CommandLineSummary.java
hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java
hotspot/test/runtime/NMT/PrintNMTStatistics.java
--- a/hotspot/test/runtime/NMT/CommandLineDetail.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/hotspot/test/runtime/NMT/CommandLineDetail.java	Mon Dec 23 10:13:42 2013 -0500
@@ -24,7 +24,7 @@
  /*
  * @test
  * @key nmt
- * @summary Running with NMT detail should not result in an error or warning
+ * @summary Running with NMT detail should not result in an error
  * @library /testlibrary
  */
 
@@ -39,7 +39,6 @@
       "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }
--- a/hotspot/test/runtime/NMT/CommandLineSummary.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/hotspot/test/runtime/NMT/CommandLineSummary.java	Mon Dec 23 10:13:42 2013 -0500
@@ -24,7 +24,7 @@
  /*
  * @test
  * @key nmt
- * @summary Running with NMT summary should not result in an error or warning
+ * @summary Running with NMT summary should not result in an error
  * @library /testlibrary
  */
 
@@ -39,7 +39,6 @@
       "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }
--- a/hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java	Mon Dec 23 10:13:42 2013 -0500
@@ -24,7 +24,7 @@
  /*
  * @test
  * @key nmt
- * @summary Turning off NMT should not result in an error or warning
+ * @summary Turning off NMT should not result in an error
  * @library /testlibrary
  */
 
@@ -38,7 +38,6 @@
               "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }
--- a/hotspot/test/runtime/NMT/PrintNMTStatistics.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/hotspot/test/runtime/NMT/PrintNMTStatistics.java	Mon Dec 23 10:13:42 2013 -0500
@@ -64,7 +64,6 @@
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldContain("Java Heap (reserved=");
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }