Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Cannot Reproduce
-
3.0.0-alpha2
-
None
-
None
Description
TestWebHdfsTimeouts expects SocketTimeoutException with "connect timed out" or "Read timed out" message but fails when encountering "null" message sometimes. Occurred 4 out of 100 tests.
SocksSocketImpl#remainingMillis may send null SocketTimeoutException:
private static int remainingMillis(long deadlineMillis) throws IOException { if (deadlineMillis == 0L) return 0; final long remaining = deadlineMillis - System.currentTimeMillis(); if (remaining > 0) return (int) remaining; throw new SocketTimeoutException(); <<<<== }
Attachments
Issue Links
- relates to
-
HDFS-11043 TestWebHdfsTimeouts fails
- Resolved