Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Cannot Reproduce
-
jtsk_2.1
-
None
-
Linux only
-
6391265
Description
Bugtraq ID 6391265
The failure of TestConnectTimeout (Linux only, both RH AS3 & SuSE 9.1) are test problems: the test is assuming that a call to a certain bogus address will hang for a while, but it fails quickly with a NoRouteToHostException on those platforms.
Suggested Fix:
Fixed by having the test use a socket factory that creates sockets that when a connect timeout is specified, always simulates the appropriate timeout failure mode, even if the connect attempt would have failed for some other reason like NoRouteToHostException.
Attachments
Issue Links
- relates to
-
RIVER-304 Reactivate River jtreg tests
- Resolved