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

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

      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)

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

              Created:
              Updated:
              Resolved: