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

jtreg tests minor issues clean up

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b27

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asemenyuk Alexey Semenyuk
                  Reporter:
                  asemenyuk Alexey Semenyuk
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: