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

Manik Surtani msurtani at jboss.com
Fri Sep 15 11:11:35 EDT 2006


  User: msurtani
  Date: 06/09/15 11:11:35

  Modified:    tests/functional/org/jboss/cache/transaction 
                        TransactionTest.java
  Log:
  - better exception message when changing an immutable config element at runtime
  - updated tests that change certain elements dynamically.
  
  Revision  Changes    Path
  1.14      +3 -1      JBossCache/tests/functional/org/jboss/cache/transaction/TransactionTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TransactionTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/transaction/TransactionTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- TransactionTest.java	6 Sep 2006 15:31:00 -0000	1.13
  +++ TransactionTest.java	15 Sep 2006 15:11:35 -0000	1.14
  @@ -37,7 +37,7 @@
    * Tests transactional access to a local TreeCache.
    * Note: we use DummpyTranasctionManager to replace jta
    *
  - * @version $Id: TransactionTest.java,v 1.13 2006/09/06 15:31:00 msurtani Exp $
  + * @version $Id: TransactionTest.java,v 1.14 2006/09/15 15:11:35 msurtani Exp $
    */
   public class TransactionTest extends TestCase
   {
  @@ -703,7 +703,9 @@
   
      public void testConcurrentReadAndWriteAccess() throws Exception
      {
  +      cache.stop();
         cache.getConfiguration().setIsolationLevel(IsolationLevel.REPEATABLE_READ);
  +      cache.start();
   
         cache.put("/1/2/3/4", "foo", "bar"); // no TX, no locks held after put() returns
   
  
  
  



More information about the jboss-cvs-commits mailing list