ASF Bugzilla – Attachment 34542 Details for
Bug 60444
Intermittent failure of TestHTTPMirrorThread#testSleep()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch as promissed.
60444.diff (text/plain), 1.21 KB, created by
Thomas Schapitz
on 2016-12-21 14:10:50 UTC
(
hide
)
Description:
Patch as promissed.
Filename:
MIME Type:
Creator:
Thomas Schapitz
Created:
2016-12-21 14:10:50 UTC
Size:
1.21 KB
patch
obsolete
># This patch file was generated by NetBeans IDE ># Following Index: paths are relative to: D:\projects\foreign\apache\jmeter\trunk ># This patch can be applied using context Tools: Patch action on respective folder. ># It uses platform neutral UTF-8 encoding and \n newlines. ># Above lines and this line are ignored by the patching process. >Index: test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java >--- test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java Base (BASE) >+++ test/src/org/apache/jmeter/protocol/http/control/TestHTTPMirrorThread.java Locally Modified (Based On LOCAL) >@@ -402,10 +402,10 @@ > URL url = new URL("http", "localhost", HTTP_SERVER_PORT, "/"); > HttpURLConnection conn = (HttpURLConnection) url.openConnection(); > conn.addRequestProperty("X-Sleep", "1000"); >- conn.connect(); > // use nanoTime to do timing measurement or calculation > // See https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks > long now = System.nanoTime(); >+ conn.connect(); > final InputStream inputStream = conn.getInputStream(); > while(inputStream.read() != -1) {} > inputStream.close();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60444
:
34500
|
34525
| 34542