8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Reviewed-by: jnimeh
This commit is contained in:
parent
4b9ec82451
commit
b20dc1e9cd
@ -189,7 +189,7 @@ public class OCSPTimeout {
|
|||||||
rootOcsp.start();
|
rootOcsp.start();
|
||||||
|
|
||||||
// Wait 5 seconds for server ready
|
// Wait 5 seconds for server ready
|
||||||
boolean readyStatus = rootOcsp.awaitServerReady(5, TimeUnit.SECONDS);
|
boolean readyStatus = rootOcsp.awaitServerReady(60, TimeUnit.SECONDS);
|
||||||
if (!readyStatus) {
|
if (!readyStatus) {
|
||||||
throw new RuntimeException("Server not ready");
|
throw new RuntimeException("Server not ready");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user