Commit e3db8bad authored by afreyssin's avatar afreyssin
Browse files

Try to remove issues in tests scheduling (bug between delete and mkdir operation, JORAM-225).

Be careful the fix needs recent versions of Ant.
parent 3f6cbdc5
......@@ -65,7 +65,7 @@
<antcall target="tests.reconf"/>
<antcall target="tests.noreg"/>
<antcall target="tests.xa"/>
<antcall target="tests.bridge.jms"/>
<antcall target="tests.bridge.jms.new"/>
<antcall target="tests.bridge.amqp"/>
<antcall target="tests.schedqueue"/>
<antcall target="tests.clusterTopic"/>
......@@ -639,7 +639,10 @@
-->
<target name="init.test">
<!-- Initialization of the run directory -->
<delete dir="${test.dir}"/>
<move file="${test.dir}" todir="${test.dir}.old" overwrite="true" force="true" failonerror="false" performGCOnFailedDelete="true"/>
<delete dir="${test.dir}.old" failonerror="false" performGCOnFailedDelete="true"/>
<delete dir="${test.dir}" failonerror="false" performGCOnFailedDelete="true"/>
<sleep seconds="2"/>
<mkdir dir="${test.dir}"/>
<copy file="config.properties" todir="${test.dir}"/>
......@@ -6948,7 +6951,7 @@
<target name="medical.test1" depends="compile"
description=" --> Medical use-case">
<delete dir="${test.dir}"/>
<delete dir="${test.dir}" failonerror="false" performGCOnFailedDelete="true"/>
<mkdir dir="${test.dir}"/>
<copy file="medical/a3debug.cfg" tofile="${test.dir}/a3debug.cfg"/>
<antcall target="test.start" inheritAll="true">
......@@ -6961,7 +6964,7 @@
<target name="medical.test2" depends="compile"
description=" --> Medical use-case">
<delete dir="${test.dir}"/>
<delete dir="${test.dir}" failonerror="false" performGCOnFailedDelete="true"/>
<mkdir dir="${test.dir}"/>
<copy file="medical/a3debug.cfg" tofile="${test.dir}/a3debug.cfg"/>
<antcall target="test.start" inheritAll="true">
......
Markdown is supported
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