axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From perr...@apache.org
Subject cvs commit: ws-axis/c test.xml
Date Wed, 20 Oct 2004 15:19:01 GMT
perryan     2004/10/20 08:19:01

  Modified:    c        test.xml
  Log:
  Added a call to StopTCPMonitor in a finally section so it always sends a stop signal to
the monitor program
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.15      +12 -4     ws-axis/c/test.xml
  
  Index: test.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/test.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- test.xml	15 Oct 2004 15:10:02 -0000	1.14
  +++ test.xml	20 Oct 2004 15:19:00 -0000	1.15
  @@ -485,7 +485,7 @@
   				<parallel timeout="40000" failonany="false">
   					<echo message="RUNNING TEST ${testName} ${clientArgs}"/>
   					<!-- Run Monitor utility to allow validation of message across the wire -->
  -					<java classname="org.apache.test.TCPMonitor">
  +					<java classname="org.apache.test.TCPMonitor" fork="true">
   						<arg line="-l ${monitorPort}"/>
   						<arg line="-p ${testPort}"/>
   						<arg line="-h ${testHost}"/>
  @@ -513,6 +513,16 @@
   							<env key="AXISCPP_DEPLOY" value="${axiscpp_deploy}"/>
   						</exec>
   						<echo message="EXEC FINISHED"/>
  +						<echo message="TELLING MONITOR TO STOP"/>
  +						<java classname="org.apache.test.StopTCPMonitor">
  +							<arg line="-p ${monitorPort}"/>
  +							<arg line="-h localhost"/>
  +							<classpath>
  +								<pathelement location="${basedir}/tests/utils/monitor/monitor.jar"/>
  +							</classpath>
  +						</java>
  +						<sleep seconds="3"/>
  +						<echo message="MONITOR STOPPED"/>
   					</sequential>
   				</parallel>
   			</try>
  @@ -520,8 +530,6 @@
   				<echo message="IN CATCH"/>
   			</catch>
   			<finally>
  -				<echo message="TELLING MONITOR TO STOP"/>
  -				<sleep seconds="3"/>
   				<java classname="org.apache.test.StopTCPMonitor">
   					<arg line="-p ${monitorPort}"/>
   					<arg line="-h localhost"/>
  @@ -529,7 +537,7 @@
   						<pathelement location="${basedir}/tests/utils/monitor/monitor.jar"/>
   					</classpath>
   				</java>
  -				<echo message="MONITOR STOPPED"/>
  +				<sleep seconds="3"/>
   			</finally>
   		</trycatch>
   	</target>
  
  
  

Mime
View raw message