Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6275

Handle JVM exit gracefully in unit tests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0, 4.16.0
    • Component/s: None
    • Labels:
      None

      Description

      System.exit / Rutime.halt can exit JVM and this can lead to failure of test runner that manages JVM for tests as well as providing output files for all tests. We should gracefully handle JVM exit by throwing our custom Exception rather than losing test runner outputs.

        Attachments

          Activity

            People

            • Assignee:
              vjasani Viraj Jasani
              Reporter:
              vjasani Viraj Jasani
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: