8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Reviewed-by: lucy
This commit is contained in:
parent
20ff603108
commit
1f7dfda705
@ -137,7 +137,8 @@ public class SSLSocketCloseHang {
|
||||
System.out.println("server ready");
|
||||
|
||||
Socket baseSocket = new Socket("localhost", serverPort);
|
||||
baseSocket.setSoTimeout(1000);
|
||||
float timeoutFactor = Float.parseFloat(System.getProperty("test.timeout.factor", "1.0"));
|
||||
baseSocket.setSoTimeout((int)(1000 * timeoutFactor));
|
||||
|
||||
SSLSocketFactory sslsf =
|
||||
(SSLSocketFactory) SSLSocketFactory.getDefault();
|
||||
|
Loading…
x
Reference in New Issue
Block a user