mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 06:28:23 +00: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
@ -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…
x
Reference in New Issue
Block a user