You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2014/01/12 15:17:08 UTC

svn commit: r1557539 - /jmeter/trunk/build.xml

Author: sebb
Date: Sun Jan 12 14:17:08 2014
New Revision: 1557539

URL: http://svn.apache.org/r1557539
Log:
CI builds often fail with port in use; probably because the previous use has not timed out
Use variable port to reduce chance of this happening

Modified:
    jmeter/trunk/build.xml

Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1557539&r1=1557538&r2=1557539&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Sun Jan 12 14:17:08 2014
@@ -2422,7 +2422,10 @@ run JMeter unless all the JMeter jars ar
   <target name="batchtestserver" description="Run the batch test using client-server mode">
     <property name="batchtestserver.out" location="${basedir}/bin"/>
     <property name="batchtestserver.log" value="BatchTestServer.log"/>
-    <property name="rmi_port" value="2099"/>
+    <tstamp>
+      <!-- Use variable port to help avoid clashes on CI servers -->
+      <format property="rmi_port" pattern="1mmss"/>
+    </tstamp>
     <parallel>
         <daemons>
             <java taskname="server" classname="org.apache.jmeter.NewDriver" fork="yes" dir="${batchtestserver.out}">