RFR: 8256417: Exclude TestJFRWithJMX test from running with PodMan

Mikhailo Seledtsov mseledtsov at openjdk.java.net
Thu Feb 25 20:06:38 UTC 2021


On Thu, 25 Feb 2021 19:26:48 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

>> @hseigel  @iignatev Could you please take a look?
>
> Hi Misha,
> 
> so this test can't be run w/ `podman` only if the test-user doesn't have root-level privileges? if so, I think it's better to check if we really don't have such priviliges and throw `SkippedException` (e.g. the same way we do in `SATestUtils` via `Platform.isRoot`). that way, the test will still be runnable in some configurations.
> 
> -- Igor

Igor, thanks for the suggestion. I will update the code to use SkippedException and Platform.isRoot

-------------

PR: https://git.openjdk.java.net/jdk/pull/2726


More information about the hotspot-dev mailing list