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

Add notes for docker tests in the test doc

XMLWordPrintable

    • b16
    • x86
    • linux

        The docker tests with default parameters may fail on the os newer than oraclelinux 7.6.
        For example, it is passed on Ubuntu 16.04 but failed on Ubuntu 18.04 with
        ------------------------------
        make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker"
        ------------------------------

        To run these tests correctly, the correct docker image parameters are required on Ubuntu 18.04 by using "JAVA_OPTIONS".
        ------------------------------
        make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
        ------------------------------

        It would be helpful to add these comments.

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: