Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316693

Simplify at-requires checkDockerSupport()

XMLWordPrintable

    • b20

        Currently JTReg @requires extension test/jtreg-ext/requires/VMProps.java checkDockerSupport() uses "<CONTAINER_ENGINE> ps" command to check whether test host/environment allows for container testing. With this change proposing to switch it to "which <CONTAINER_ENGINE>":
          - the "ps" command could be heavy-weight on some environments, taking longer time then expected
          - it may not apply to all container engine types

        Proposed change: Use "which $CONTAINER_ENGINE"

              mseledtsov Mikhailo Seledtsov
              mseledtsov Mikhailo Seledtsov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: