Commit 1249d529 authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Adds test about pool of connections.

Fix issue with tcp.test8.
parent ce037eeb
......@@ -733,6 +733,7 @@
<antcall target="pool.Test1"/>
<antcall target="pool.Test2"/>
<antcall target="pool.Test3"/>
<antcall target="pool.Test4"/>
</target>
<!--
......@@ -2926,24 +2927,6 @@
<antcall target="tcp.test7.3b"/>
</target>
<target name="test8.run">
<antcall target="init.test" inheritAll="true"/>
<delete file="${test.dir}/a3servers.xml" failonerror="true" performGCOnFailedDelete="true"/>
<antcall target="test.start" inheritAll="true"/>
</target>
<target name="tcp.test8" depends="compile"
description=" --> test AgentServer direct configuration">
<antcall target="test8.run" inheritAll="true">
<param name="testid" value="tcp.test8"/>
<param name="className" value="joram.tcp.Test8"/>
<param name="jndiconf" value="tcp/jndi.properties"/>
<param name="a3conf" value="tcp/a3servers.xml"/>
<param name="jvmargs" value=""/>
<param name="args" value=""/>
</antcall>
</target>
<target name="tcp.test7.1a" depends="init.a3props,compile"
description=" --> test TCP connection with timeout and transaction freeze (Default value for server)">
<!--
......@@ -3030,6 +3013,24 @@
</antcall>
</target>
<target name="test8.run">
<antcall target="init.test" inheritAll="true"/>
<delete file="${test.dir}/a3servers.xml" failonerror="true" performGCOnFailedDelete="true"/>
<antcall target="test.start" inheritAll="true"/>
</target>
<target name="tcp.test8" depends="init.a3props,compile"
description=" --> test AgentServer direct configuration">
<antcall target="test8.run" inheritAll="true">
<param name="testid" value="tcp.test8"/>
<param name="className" value="joram.tcp.Test8"/>
<param name="jndiconf" value="tcp/jndi.properties"/>
<param name="a3conf" value="tcp/a3servers.xml"/>
<param name="jvmargs" value=""/>
<param name="args" value=""/>
</antcall>
</target>
<!-- end test tcp -->
<!-- test reconf -->
......@@ -6854,7 +6855,7 @@
</target>
<target name="pool.Test3" depends="init.a3props,compile"
description=" --> Tests pool of Connection.">
description=" --> Tests pool of Connection with various users.">
<antcall target="test.run" inheritAll="true">
<param name="testid" value="pool.Test3"/>
<param name="className" value="joram.pooled.Test3"/>
......@@ -6865,6 +6866,18 @@
</antcall>
</target>
<target name="pool.Test4" depends="init.a3props,compile"
description=" --> Tests pool of Connection with various users.">
<antcall target="test.run" inheritAll="true">
<param name="testid" value="pool.Test4"/>
<param name="className" value="joram.pooled.Test4"/>
<param name="jndiconf" value="pooled/jndi.properties"/>
<param name="a3conf" value="pooled/a3servers.xml"/>
<param name="jvmargs" value=""/>
<param name="args" value=""/>
</antcall>
</target>
<target name="sw.test1" depends="init.a3props,compile"
description=" --> test SW scenario">
<antcall target="init.test" inheritAll="true">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment