Uploaded image for project: 'Meecrowave'
  1. Meecrowave
  2. MEECROWAVE-77

Wrap MeecrowaveRule runs in a temporary URLClassLoader to force a unique BeanManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • None

    Description

      Meecrowave uses standard OWB which binds the instance to the 'current' ClassLoader (TCCL mostly).

      In unit tests this is almost always the same, the standard CL from the test classpath.

      If one wants to run multiple Meecrowave tests in parallel or a MonoMeecrowave + MeecrowaveRule tests in the same suite, then the information in the BeanManager might get mixed up.

      To solve this issue we should provide a distinct URLClassLoader (delegating to the standard CL as parent) for each test class.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: