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

Transactional distributed shared cache store not working

    Details

      Description

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

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              galder.zamarreno Galder Zamarreño
              Reporter:
              galder.zamarreno Galder Zamarreño
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development