Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1934

ResteasyProviderFactory testsuite leaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.6.1.Final, 4.0.0.Beta5
    • None
    • None
    • None

      ResteasyProviderFactory has a public static getInstance() method which returns a singleton instance. Many tests use that method to get the ResteasyProviderFactory and then customize it with providers or such for the specific test scenario, without cleaning the singleton afterwards.
      This is a leak and potentially leads to unexpected behaviors / intermittent failures in the following tests.

      Note, on master the ResteasyProviderFactory has static newInstance() method that creates a new instance of the factory.

              rsearls r searls
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: