Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2348

Tooling-Exam does not wait for a complete test container shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.3.1
    • None
    • karaf
    • None

    Description

      Symptoms of the issue:

      • a subsequent Karaf tooling exam test cannot open its ports
      • the target folder cannot be deleted. log output:
        ("Can't remove runtime system; shedule it for exit of the jvm.")

      The approach to stop Karaf is to stop bundle 0. However, KarafJavaRunner
      should then also wait for the Karaf process in its shutdown() method.
      Probably something like

       
          @Override
          public synchronized void shutdown() {
              // runner.shutdown();
              runner.waitForExit(); // and calls runner.shutdown()
          }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lichtin Martin Lichtin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: