[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/optimistic ...

Manik Surtani msurtani at jboss.com
Wed Dec 20 08:29:16 EST 2006


  User: msurtani
  Date: 06/12/20 08:29:16

  Modified:    tests/functional/org/jboss/cache/optimistic 
                        RemoveBeforeCreateTest.java
  Log:
  added async sleep
  
  Revision  Changes    Path
  1.3       +2 -0      JBossCache/tests/functional/org/jboss/cache/optimistic/RemoveBeforeCreateTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RemoveBeforeCreateTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/optimistic/RemoveBeforeCreateTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- RemoveBeforeCreateTest.java	6 Dec 2006 16:28:36 -0000	1.2
  +++ RemoveBeforeCreateTest.java	20 Dec 2006 13:29:16 -0000	1.3
  @@ -47,6 +47,7 @@
         t.begin();
         c[0].put("/control", "key", "value");
         t.commit();
  +      TestingUtil.sleepThread(200);
   
         assertEquals("value", c[0].get("/control", "key"));
         assertEquals("value", c[1].get("/control", "key"));
  @@ -71,6 +72,7 @@
   
         // should NOT barf!!!
         t.commit();
  +      TestingUtil.sleepThread(200);
   
         assertNull(c[0].get(f));
         assertNull(c[1].get(f));
  
  
  



More information about the jboss-cvs-commits mailing list