db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/junit OJBTestCase.java
Date Sun, 28 Nov 2004 03:04:57 GMT
arminw      2004/11/27 19:04:57

  Modified:    src/test/org/apache/ojb/junit OJBTestCase.java
  Log:
  reduce stress, comment out release of all broker instances
  
  Revision  Changes    Path
  1.10      +4 -7      db-ojb/src/test/org/apache/ojb/junit/OJBTestCase.java
  
  Index: OJBTestCase.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/junit/OJBTestCase.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- OJBTestCase.java	27 Nov 2004 00:11:02 -0000	1.9
  +++ OJBTestCase.java	28 Nov 2004 03:04:57 -0000	1.10
  @@ -79,12 +79,9 @@
                   }
               }
           }
  -        ojb.releaseAllConnections();
  +        // ojb.releaseAllConnections();
           super.tearDown();
  -        System.gc();
  -        // sleep thread to guarantee different timestamp values for
  -        // each test
  -        ojbSleep();
  +        // System.gc();
       }
   
       /**
  @@ -94,7 +91,7 @@
       {
           try
           {
  -            Thread.sleep(5);
  +            Thread.sleep(11);
           }
           catch (InterruptedException ignore)
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message