Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10906

JGroupsTransport instance is reused in tests

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.1.0.Final
    • 10.0.1.Final
    • Core
    • None

      The TRANSPORT AttributeDefinition uses IdentityAttributeCopier, which means that when a test uses GlobalConfigurationBuilder.read() to make a clone of the global configuration it keeps using the same JGroupsTransport instance. Both cache managers sort of work, but usually not as intended.

      We should detect when JGroupsTransport's dependencies are injected twice and throw an exception. We should also consider changing the TRANSPORT copier to SimpleInstanceAttributeCopier.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: