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

jtreg tests minor issues clean up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • tools
    • b27

        Running jpackage tests locally uncovered some minor issues:
        1. BasicTest.testTemp fails on Windows randomly. Seems like exe installer get locked by antivirus when
        ---
                    // Clean output from the previus jpackage run.
                    Files.delete(cmd.outputBundle());
        ---
        code is executed making the test fail. Suggested fix is to remove this redundant clean up action.

        2. Test that run jpackage with `--add-modules` argument fail if launched with the specified external Java runtime (`-r` option of run_tests.sh script). Suggested fix is to add `ignoreDefaultRuntime(true)` call to all JPackageCommand instances configured to run jpackage with `--add-modules` argument.

              asemenyuk Alexey Semenyuk
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: