Searched refs:TIMEOUT_MILLIS (Results 1 – 1 of 1) sorted by relevance
44 private static final int TIMEOUT_MILLIS = 500; field in SocketTimeoutTest69 Math.abs(((float) timeElapsed / TIMEOUT_MILLIS) - 1) in checkOperationTimesOut()79 TIMEOUT_MILLIS)); in testSocketConnectTimeout()84 s.setSoTimeout(TIMEOUT_MILLIS / 2); in testSocketConnectTimeout()85 s.connect(UNREACHABLE_ADDRESS, TIMEOUT_MILLIS); in testSocketConnectTimeout()98 s.setSoTimeout(TIMEOUT_MILLIS); in testSocketReadTimeout()111 sock.setSoTimeout(TIMEOUT_MILLIS); in testSocketWriteNeverTimeouts()142 !writeCompleted.await(TIMEOUT_MILLIS * 2, TimeUnit.MILLISECONDS); in testSocketWriteNeverTimeouts()156 s.setSoTimeout(TIMEOUT_MILLIS); in testServerSocketAcceptTimeout()167 s.socket().setSoTimeout(TIMEOUT_MILLIS); in testServerSocketChannelAcceptTimeout()[all …]