jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1557539 - /jmeter/trunk/build.xml
Date Sun, 12 Jan 2014 14:17:08 GMT
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}">



Mime
View raw message