jtreg tests minor issues clean up

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: