Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1558

Unit Tests do not propertly shutdown the repository, causing a large number of live threads

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      Because there are unit tests that don't properly shutdown the repository after they finish (e.g. JcrTckTest, ModeShapeTckTest), a large number of threads may "add up" while running the unit tests, due to the fact that their executor services haven't been shut down.

      This can be easily observed by running the tests from the modehshape-jcr module and monitoring the JVM in parallel (with jConsole or VisualVM).

      The effects can be poor performance or even memory issues (especially when indexing via Lucene)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hchiorean Horia Chiorean (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: