jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mchassagn...@apache.org
Subject svn commit: r1790839 - /jmeter/trunk/src/core/org/apache/jmeter/threads/ThreadGroup.java
Date Mon, 10 Apr 2017 14:43:56 GMT
Author: mchassagneux
Date: Mon Apr 10 14:43:56 2017
New Revision: 1790839

URL: http://svn.apache.org/viewvc?rev=1790839&view=rev
Log:
Don't cumul intial delay + ramp-up delay for a new thread create in the fly.
Bugzilla Id: 60530

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/threads/ThreadGroup.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/threads/ThreadGroup.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/threads/ThreadGroup.java?rev=1790839&r1=1790838&r2=1790839&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/threads/ThreadGroup.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/threads/ThreadGroup.java Mon Apr 10 14:43:56 2017
@@ -385,6 +385,8 @@ public class ThreadGroup extends Abstrac
             numThreads = getNumThreads();
             setNumThreads(numThreads + 1);
         }
+		// Don't cumul intialDelay + rampup delay
+		setDelay(0);
         newJmThread = startNewThread(notifier, threadGroupTree, engine, numThreads, context,
now, delay);
         JMeterContextService.addTotalThreads( 1 );
         log.info("Started new thread in group {}", groupNumber);



Mime
View raw message