jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60444] Intermittend failure of TestHTTPMirrorThread#testSleep()
Date Sat, 17 Dec 2016 11:53:36 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60444

--- Comment #3 from Thomas Schapitz <ts-nospam12@online.de> ---
If checked up on my previous statement, and have to correct:
connect() actually does initiate the roundtrip to the server, at least for the
Sun implementation of the HttpUrlConnection.

Thus, we should indeed start taking time before the connect(). I'm going to
supply a patch for this, which should mitigate the woes.

However I would like to point out that this still isn't a healthy aproach: 
sleep() throws an InterruptedException, which is apart from a log statement
silently swallowed, so the test does hinge on the assumption, that there are no
spourious interruptions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message