On Fri, 26 Dec 2025 02:17:10 GMT, SendaoYan <[email protected]> wrote:

> Hi all,
> 
> Test jdk/internal/platform/cgroup/TestCgroupMetrics.java report fails when 
> the docker service is unavailable. The details shows in jbs issue. I think 
> it's better to call `DockerTestUtils.checkCanTestDocker()` before run this 
> test.
> 
> Change has been verified locally. Test-fix only, no risk.

So `MetricsTester.main(args)` requires the docker service, right?

Maybe it would be better to add this check in a place like`MetricsTester`, 
where it requires docker service directly.

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

PR Comment: https://git.openjdk.org/jdk/pull/28996#issuecomment-3691978718

Reply via email to