[jbosscache-commits] JBoss Cache SVN: r6435 - core/trunk/src/test/java/org/jboss/cache/notifications.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Wed Jul 30 07:10:24 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-07-30 07:10:24 -0400 (Wed, 30 Jul 2008)
New Revision: 6435

Modified:
   core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerOptimisticTest.java
   core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java
Log:
Disable state transfer test for OL

Modified: core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerOptimisticTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerOptimisticTest.java	2008-07-30 10:47:22 UTC (rev 6434)
+++ core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerOptimisticTest.java	2008-07-30 11:10:24 UTC (rev 6435)
@@ -15,4 +15,11 @@
    {
       optLocking = true;
    }
+
+   @Override
+   public void testStateTransfer() throws Exception
+   {
+      // no op
+   }
+
 }
\ No newline at end of file

Modified: core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java	2008-07-30 10:47:22 UTC (rev 6434)
+++ core/trunk/src/test/java/org/jboss/cache/notifications/RemoteCacheListenerTest.java	2008-07-30 11:10:24 UTC (rev 6435)
@@ -630,7 +630,6 @@
       assertEquals(expected, eventLog2.events);
    }
 
-   @Test(enabled = true)
    public void testStateTransfer() throws Exception
    {
       // first stop cache2
@@ -657,8 +656,6 @@
       TestingUtil.blockUntilViewsReceived(5000, cache1, cache2);
 
       List<Event> expected = new ArrayList<Event>();
-      // public EventImpl(boolean pre, Cache cache, ModificationType modificationType, Map data, Fqn fqn,
-      // Transaction transaction, boolean originLocal, Fqn targetFqn, boolean successful, View newView, Type type)
       expected.add(new EventImpl(true, cache2, null, null, Fqn.ROOT, null, false, null, false, null, NODE_CREATED));
       expected.add(new EventImpl(false, cache2, null, null, Fqn.ROOT, null, false, null, false, null, NODE_CREATED));
 
@@ -674,7 +671,6 @@
 
 
       scrubTransactions(expected);
-      if (optLocking) eventLog2.scrubImplicitTransactions();
       assertEquals(expected, eventLog2.events);
    }
 




More information about the jbosscache-commits mailing list