You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ru...@apache.org on 2007/09/26 13:51:16 UTC
svn commit: r579614 -
/incubator/qpid/branches/M2.1/java/perftests/src/main/java/org/apache/qpid/requestreply/PingPongProducer.java
Author: rupertlssmith
Date: Wed Sep 26 04:51:14 2007
New Revision: 579614
URL: http://svn.apache.org/viewvc?rev=579614&view=rev
Log:
Added timeout to perftests, wait limit set to higher value to stop threads thashing.
Modified:
incubator/qpid/branches/M2.1/java/perftests/src/main/java/org/apache/qpid/requestreply/PingPongProducer.java
Modified: incubator/qpid/branches/M2.1/java/perftests/src/main/java/org/apache/qpid/requestreply/PingPongProducer.java
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/perftests/src/main/java/org/apache/qpid/requestreply/PingPongProducer.java?rev=579614&r1=579613&r2=579614&view=diff
==============================================================================
--- incubator/qpid/branches/M2.1/java/perftests/src/main/java/org/apache/qpid/requestreply/PingPongProducer.java (original)
+++ incubator/qpid/branches/M2.1/java/perftests/src/main/java/org/apache/qpid/requestreply/PingPongProducer.java Wed Sep 26 04:51:14 2007
@@ -1148,7 +1148,7 @@
// The maximum number of waits before the test gives up and fails. This has been chosen to correspond with
// the test timeout.
- int waitLimit = (int) (TIMEOUT_DEFAULT / 100);
+ int waitLimit = (int) (TIMEOUT_DEFAULT / 10000);
while ((_maxPendingSize > 0))
{
@@ -1167,7 +1167,7 @@
// Wait on the send pause barrier for the limit to be re-established.
try
{
- _sendPauseMonitor.wait(100);
+ _sendPauseMonitor.wait(10000);
numWaits++;
}
catch (InterruptedException e)