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

ResponseObjectTest and ProxiedSubresourceTest relies on currently cached ResteasyProviderFactory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.17.Final
    • None
    • jaxrs
    • None

      The ResponseObjectTest and ProxiedSubresourceTest currently run:

      executor = new InMemoryClientExecutor();
      

      which internally does

      ResteasyProviderFactory.getInstance()
      

      So they basically end up running with the currently cached ResteasyProviderFactory in the JVM.
      I've been able to see those tests fail because no MBW were available in the ResteasyProviderFactory, while running the tests one-by-one gives no error, hence the tests can work with a vanilla ResteasyProviderFactory instance.

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: