cacheLister3.expectWithTx(PutKeyValueCommand.class);
mgr1.begin();
cache1.put("/test", "key", "value2");
mgr1.commit();
cacheLister2.waitForReplicationToOccur();
cacheLister3.waitForReplicationToOccur();
// only test cache1 and cache2. Assume cache3 has crashed out.
assertEquals(0, cache1.getNumberOfLocksHeld());
assertEquals(0, cache2.getNumberOfLocksHeld());
assertEquals("put in transaction should NOT have been rolled back", "value2", cache1.get("/test", "key"));