jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1749153 - /jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleResult.java
Date Sun, 19 Jun 2016 11:36:17 GMT
Author: sebb
Date: Sun Jun 19 11:36:17 2016
New Revision: 1749153

URL: http://svn.apache.org/viewvc?rev=1749153&view=rev
Log:
Looks like a busy machine needs slightly more leeway

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleResult.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleResult.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleResult.java?rev=1749153&r1=1749152&r2=1749153&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleResult.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/samplers/TestSampleResult.java Sun Jun 19 11:36:17
2016
@@ -282,7 +282,7 @@ public class TestSampleResult {
              */
             
             long diff = parentElapsedTotal - sumSamplesTimes;
-            long maxDiff = nanoTime ? 2 : 16; // TimeMillis has granularity of 10-20
+            long maxDiff = nanoTime ? 3 : 16; // TimeMillis has granularity of 10-20
             if (diff < 0 || diff > maxDiff) {
                 fail("ParentElapsed: " + parentElapsedTotal + " - " + " sum(samples): " +
sumSamplesTimes
                         + " = " + diff + " not in [0," + maxDiff + "]; nanotime=" + nanoTime);



Mime
View raw message