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

ServletTestRunner is leaking memmory

    XMLWordPrintable

Details

    Description

      ServletTestRunner saves ThreadLocal reference to ServletContex in its init() method,
      and clears it in destroy().
      Problem is that thread that calls init and thread that call destroy() are not guaranteed to be the same thread.

      In wildfly/undertow undeploy/server shotdown is executed in different thread than he one that was used to call servlet init first.

      reproducer and some evaluation on the bug can be found at https://github.com/wildfly/wildfly/issues/8263

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomazcerar Tomaž Cerar (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: