Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6669

Various tests fail when env specifies JDK_JAVA_OPTIONS or JAVA_TOOL_OPTIONS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 23.0.0.Final
    • 23.0.0.Beta5
    • Test Suite
    • None

      If the environment defines a JDK_JAVA_OPTIONS variable, the console outputs:

      "NOTE: Picked up JDK_JAVA_OPTIONS: ..."

      Likewise, if the environment defines a JAVA_TOOL_OPTIONS variable, the console outputs:

      "Picked up JAVA_TOOL_OPTIONS: ..."

      This causes the following tests to fail:

      • org.jboss.as.test.integration.management.cli.CliArgumentsTestCase
      • org.jboss.as.test.integration.management.cli.ColorOutputTestCase
      • org.wildfly.scripts.test.CliScriptTestCase
      • org.wildfly.scripts.test.ElytronToolScriptTestCase

      While these tests currently detect similar console noise relating to the "_JAVA_OPTIONS" variable, this variable was superseded by the above in Java 9+.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: