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

Versioning configuration not read when cache configuration is retrieved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.1.5.FINAL
    • 5.1.4.FINAL, 5.1.5.CR1
    • Configuration
    • None

      Test:

      @Test(groups = "unit", testName = "BootTest")
      public class BootTest extends SingleCacheManagerTest {
      
         @Override
         protected EmbeddedCacheManager createCacheManager() throws Exception {
            return TestCacheManagerFactory.fromXml("infinispan.xml");
         }
      
         public void test000() {
            new TreeCacheFactory().createTreeCache(cache);
         }
      
      }

      XML:

      <infinispan>
         <default>
            <locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000" writeSkewCheck="true"/>
            <transaction transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup" transactionMode="TRANSACTIONAL" lockingMode="OPTIMISTIC"/>
            <invocationBatching enabled="true"/>
            <versioning versioningScheme="SIMPLE" enabled="true" />
            <clustering mode="LOCAL"/>
         </default>
         <namedCache name="JCoffeeSystemCache">
            <versioning versioningScheme="SIMPLE" enabled="true" />
         </namedCache>
      </infinispan>
      

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: