[jdk17] RFR: 8271350: runtime/Safepoint tests use OutputAnalyzer::shouldMatch instead of shouldContaint
David Holmes
dholmes at openjdk.java.net
Tue Jul 27 23:12: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 doesn't really make any difference but okay.
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk17/pull/285
More information about the hotspot-runtime-dev
mailing list