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

Transactional distributed shared cache store not working

XMLWordPrintable

      This test fails:

      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());
         }
      
      }

            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: