branch | http-client-branch |
changeset 56335 | 7e56c39fa1fa |
parent 56325 | 195d2970d981 |
child 56409 | b0c62cfc1d12 |
--- a/test/jdk/java/net/httpclient/websocket/PendingTextPongClose.java Wed Mar 21 14:11:38 2018 +0000 +++ b/test/jdk/java/net/httpclient/websocket/PendingTextPongClose.java Wed Mar 21 15:12:11 2018 +0000 @@ -56,7 +56,7 @@ System.out.printf("begin cycle #%s at %s%n", i, start); cfText = webSocket.sendText(data, last); try { - cfText.get(5, TimeUnit.SECONDS); + cfText.get(MAX_WAIT_SEC, TimeUnit.SECONDS); data.clear(); } catch (TimeoutException e) { break;