[infinispan-issues] [JBoss JIRA] (ISPN-2089) Transactional distributed shared cache store not working
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Thu Jun 7 08:18:18 EDT 2012
[ https://issues.jboss.org/browse/ISPN-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-2089:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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.1.x, 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