[jdk17] Integrated: 8271350: runtime/Safepoint tests use OutputAnalyzer::shouldMatch instead of shouldContaint
Igor Ignatyev
iignatyev at openjdk.java.net
Tue Jul 27 23:23:32 UTC 2021
On Tue, 27 Jul 2021 19:55:44 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:
> Hi all,
>
> could you please review this small patch?
>
> from JBS:
>> `runtime/Safepoint/TestAbortVMOnSafepointTimeout.java` and `TestAbortOnVMOperationTimeout.java` tests use `j.t.l.p.OutputAnalyzer::shouldMatch` method, which accepts a regular expression, yet pass a fixed string as an argument.
>
> testing: ``runtime/Safepoint/` on `{windows,linux,macos}-x64`
>
> Thanks,
> -- Igor
This pull request has now been integrated.
Changeset: f1e15c8c
Author: Igor Ignatyev <iignatyev at openjdk.org>
URL: https://git.openjdk.java.net/jdk17/commit/f1e15c8c8f598f3726fd6b3f65fe5ab155a2ee28
Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 mod
8271350: runtime/Safepoint tests use OutputAnalyzer::shouldMatch instead of shouldContaint
Reviewed-by: mseledtsov, dholmes
-------------
PR: https://git.openjdk.java.net/jdk17/pull/285
More information about the hotspot-runtime-dev
mailing list