Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0
    • None
    • None

    Description

      There are a couple of test cases in TestDBLoadDump which are failing with the following exception with JDK11:

      org.apache.oozie.tools.TestDBLoadDump$ExitException
       at org.apache.oozie.tools.TestDBLoadDump$NoExitSecurityManager.checkExit(TestDBLoadDump.java:285)
       at java.base/java.lang.Runtime.exit(Runtime.java:113)
       at java.base/java.lang.System.exit(System.java:1746)
       at org.apache.oozie.tools.OozieDBImportCLI.main(OozieDBImportCLI.java:158)
       at org.apache.oozie.tools.TestDBLoadDump.importToDB(TestDBLoadDump.java:219)
       at org.apache.oozie.tools.TestDBLoadDump.importValidDataToDB(TestDBLoadDump.java:211)
       at org.apache.oozie.tools.TestDBLoadDump.testImportToNonExistingTablesSucceedsOnHsqldb(TestDBLoadDump.java:133)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
       at junit.framework.TestCase.runTest(TestCase.java:176)

      Attachments

        1. OOZIE-3505-001.patch
          4 kB
          Kinga Marton
        2. OOZIE-3505-002.patch
          4 kB
          Kinga Marton
        3. OOZIE-3505-003.patch
          4 kB
          Kinga Marton

        Activity

          People

            kmarton Kinga Marton
            kmarton Kinga Marton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: