Author: fhanik Date: Mon Feb 27 15:34:46 2006 New Revision: 381488 URL: http://svn.apache.org/viewcvs?rev=381488&view=rev Log: Fixed so that the pause is not calculated in the send time
Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/demos/LoadTest.java Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/demos/LoadTest.java URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/demos/LoadTest.java?rev=381488&r1=381487&r2=381488&view=diff ============================================================================== --- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/demos/LoadTest.java (original) +++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/demos/LoadTest.java Mon Feb 27 15:34:46 2006 @@ -102,11 +102,11 @@ printArray(msg.getMessage()); } channel.send(null, msg); + sendTime += (System.currentTimeMillis() - start); if ( pause > 0 ) { if ( debug) System.out.println("Pausing sender for "+pause+" ms."); Thread.sleep(pause); } - sendTime += (System.currentTimeMillis() - start); } catch (ChannelException x) { log.error("Unable to send message."); Member[] faulty = x.getFaultyMembers(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]