Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-203

ThreadLocal leak during TestExecution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha3
    • 1.0.0.Alpha1, 1.0.0.Alpha2
    • None
    • None

      Arquillian leaks state on ThreadLocal variables. Every ThreadLocal variable should be cleaned up after use. Not doing so will cause memory issues in the container not being able to clean up ClassLoaders etc properly.

      JUnit:

      • Arquillian.caughtTestException
      • Arquillian.lastCreatedRunner
      • Arquillian.deployableTest

      TestNG

      • Arquillian.deployableTest

              aslak@redhat.com Aslak Knutsen
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: