You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2014/10/29 22:03:38 UTC
svn commit: r1635302 -
/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
Author: sebb
Date: Wed Oct 29 21:03:37 2014
New Revision: 1635302
URL: http://svn.apache.org/r1635302
Log:
Commit
Modified:
jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
Modified: jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java?rev=1635302&r1=1635301&r2=1635302&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java Wed Oct 29 21:03:37 2014
@@ -403,7 +403,7 @@ public class TestHTTPMirrorThread extend
final InputStream inputStream = conn.getInputStream();
while(inputStream.read() != -1) {}
inputStream.close();
- final long elapsed = Math.round((System.nanoTime() - now)/1000000.0);
+ final long elapsed = (System.nanoTime() - now)/1000000L;
assertTrue("Expected > 1000 " + elapsed, elapsed >= 1000);
}