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

make container at requires command configurable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 22
    • hotspot
    • None

      The container ecosystem is growing. It would be good to be able to use custom command to figure out whether a specific host type allows for container testing; hence this enhancement seeks to make the command used by jtreg "requires" extension configurable.

      --------- Details:
      File containing implementation: test/jtreg-ext/requires/VMProps.java
      Methods: dockerSupport(), checkDockerSupport()
      (perhaps a good idea to rename these methods to containerSupport)

      Proposing to create a property that would specify a command; current behavior will be default if property is not specified or empty.
      For instance: jdk.test.container.requires.check.command

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

              Created:
              Updated:
              Resolved: