mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8021774: [TESTBUG] Tests failed because of a warning in its output
Remove check for warning Reviewed-by: zgu, mseledtsov
This commit is contained in:
parent
ed5c744803
commit
dbde42105e
4 changed files with 3 additions and 7 deletions
|
@ -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 @@ public class CommandLineDetail {
|
|||
"-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("error");
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 @@ public class CommandLineSummary {
|
|||
"-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("error");
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 @@ public class CommandLineTurnOffNMT {
|
|||
"-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("error");
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,7 +64,6 @@ public class PrintNMTStatistics {
|
|||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldContain("Java Heap (reserved=");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue