You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/09/20 07:36:02 UTC
svn commit: r1761536 -
/jmeter/trunk/src/components/org/apache/jmeter/timers/ConstantThroughputTimer.java
Author: pmouawad
Date: Tue Sep 20 07:36:02 2016
New Revision: 1761536
URL: http://svn.apache.org/viewvc?rev=1761536&view=rev
Log:
Fix typo in naming
Modified:
jmeter/trunk/src/components/org/apache/jmeter/timers/ConstantThroughputTimer.java
Modified: jmeter/trunk/src/components/org/apache/jmeter/timers/ConstantThroughputTimer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/timers/ConstantThroughputTimer.java?rev=1761536&r1=1761535&r2=1761536&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/timers/ConstantThroughputTimer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/timers/ConstantThroughputTimer.java Tue Sep 20 07:36:02 2016
@@ -217,8 +217,8 @@ public class ConstantThroughputTimer ext
//Synchronize on the info object's MUTEX to ensure
//Multiple threads don't update the scheduled time simultaneously
synchronized (info.MUTEX) {
- final long nextRequstTime = info.lastScheduledTime + milliSecPerRequest;
- info.lastScheduledTime = Math.max(now, nextRequstTime);
+ final long nextRequestTime = info.lastScheduledTime + milliSecPerRequest;
+ info.lastScheduledTime = Math.max(now, nextRequestTime);
calculatedDelay = info.lastScheduledTime - now;
}
@@ -329,5 +329,4 @@ public class ConstantThroughputTimer ext
void setMode(Mode newMode) {
mode = newMode;
}
-
}