[infinispan-issues] [JBoss JIRA] (ISPN-2089) Transactional distributed shared cache store not working

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Mon Jun 4 05:40:17 EDT 2012


Galder Zamarreño created ISPN-2089:
--------------------------------------

             Summary: Transactional distributed shared cache store not working
                 Key: ISPN-2089
                 URL: https://issues.jboss.org/browse/ISPN-2089
             Project: Infinispan
          Issue Type: Bug
          Components: Distributed Cache, Loaders and Stores, Transactions
    Affects Versions: 5.1.5.FINAL
            Reporter: Galder Zamarreño
            Assignee: Galder Zamarreño
            Priority: Critical
             Fix For: 5.2.0.ALPHA1, 5.2.0.FINAL


This test fails:

{code}public class DistSyncTxCacheStoreSharedTest extends BaseDistCacheStoreTest {

   public DistSyncTxCacheStoreSharedTest() {
      sync = true;
      tx = true;
      testRetVals = true;
      shared = true;
      INIT_CLUSTER_SIZE = 2;
      numOwners = 1;
   }

   public void testPutFromNonOwner() throws Exception {
      Cache<Object, String> cacheX = getFirstNonOwner("key1");
      CacheStore storeX = TestingUtil.extractComponent(
            cacheX, CacheLoaderManager.class).getCacheStore();
      cacheX.put("key1", "v1");
      assertEquals("v1", cacheX.get("key1"));
      assertNotNull(storeX.load("key1"));
      assertEquals("v1", storeX.load("key1").getValue());
   }

}{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list