You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by th...@apache.org on 2003/05/15 08:21:51 UTC

cvs commit: db-ojb build.xml

thma        2003/05/14 23:21:51

  Modified:    .        build.xml
  Log:
  add a target for DB failover tests
  
  Revision  Changes    Path
  1.83      +16 -0     db-ojb/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/build.xml,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- build.xml	8 Apr 2003 20:19:30 -0000	1.82
  +++ build.xml	15 May 2003 06:21:51 -0000	1.83
  @@ -822,6 +822,22 @@
       </target>
   
       <!-- ================================================================== -->
  +    <!-- failover tests                                                  -->
  +    <!-- ================================================================== -->
  +    <target name="failover"
  +            description="db failover tests">
  +        <java fork="yes" classname="org.apache.ojb.broker.PerformanceJdbcFailoverTest"
  +              dir="${build.test}/ojb" taskname="ojb" failonerror="true" >
  +            <classpath refid="runtime-classpath"/>
  +            <arg value="2500"/>
  +            <arg value="5"/>
  +            <jvmarg value="-Xms128m"/>
  +            <jvmarg value="-Xmx256m"/>
  +        </java>
  +
  +    </target>
  +
  +    <!-- ================================================================== -->
       <!-- Simple Performance Framework                                       -->
       <!-- ================================================================== -->
       <target name="perf-test" depends="prepare-testdb"