diff --git a/test/jdk/java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java b/test/jdk/java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java index 1a634d3c2d4..59873a368e5 100644 --- a/test/jdk/java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java +++ b/test/jdk/java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java @@ -37,16 +37,16 @@ * @library ../../../../../java/security/testlibrary * @build CertificateBuilder SimpleOCSPServer * @run main/othervm OCSPTimeout 1000 true - * @run main/othervm -Dcom.sun.security.ocsp.readtimeout=2 + * @run main/othervm -Dcom.sun.security.ocsp.readtimeout=5 * OCSPTimeout 1000 true * @run main/othervm -Dcom.sun.security.ocsp.readtimeout=1 - * OCSPTimeout 2000 false + * OCSPTimeout 5000 false * @run main/othervm -Dcom.sun.security.ocsp.readtimeout=1s - * OCSPTimeout 2000 false + * OCSPTimeout 5000 false * @run main/othervm -Dcom.sun.security.ocsp.readtimeout=1500ms - * OCSPTimeout 2000 false - * @run main/othervm -Dcom.sun.security.ocsp.readtimeout=2750ms - * OCSPTimeout 2000 true + * OCSPTimeout 5000 false + * @run main/othervm -Dcom.sun.security.ocsp.readtimeout=4500ms + * OCSPTimeout 1000 true */ import java.io.*; diff --git a/test/jdk/sun/security/x509/URICertStore/AIACertTimeout.java b/test/jdk/sun/security/x509/URICertStore/AIACertTimeout.java index 871c47ce594..487f5e2471c 100644 --- a/test/jdk/sun/security/x509/URICertStore/AIACertTimeout.java +++ b/test/jdk/sun/security/x509/URICertStore/AIACertTimeout.java @@ -30,15 +30,15 @@ * @library /test/lib ../../../../java/security/testlibrary * @build CertificateBuilder * @run main/othervm -Dcom.sun.security.enableAIAcaIssuers=true - * -Dcom.sun.security.cert.readtimeout=1 AIACertTimeout 2000 false + * -Dcom.sun.security.cert.readtimeout=1 AIACertTimeout 5000 false * @run main/othervm -Dcom.sun.security.enableAIAcaIssuers=true - * -Dcom.sun.security.cert.readtimeout=1s AIACertTimeout 2000 false + * -Dcom.sun.security.cert.readtimeout=1s AIACertTimeout 5000 false * @run main/othervm -Dcom.sun.security.enableAIAcaIssuers=true - * -Dcom.sun.security.cert.readtimeout=3 AIACertTimeout 2000 true + * -Dcom.sun.security.cert.readtimeout=4 AIACertTimeout 1000 true * @run main/othervm -Dcom.sun.security.enableAIAcaIssuers=true - * -Dcom.sun.security.cert.readtimeout=1500ms AIACertTimeout 2000 false + * -Dcom.sun.security.cert.readtimeout=1500ms AIACertTimeout 5000 false * @run main/othervm -Dcom.sun.security.enableAIAcaIssuers=true - * -Dcom.sun.security.cert.readtimeout=2750ms AIACertTimeout 2000 true + * -Dcom.sun.security.cert.readtimeout=4500ms AIACertTimeout 1000 true * @run main/othervm -Djava.security.debug=certpath * -Dcom.sun.security.enableAIAcaIssuers=false * -Dcom.sun.security.cert.readtimeout=20000ms AIACertTimeout 10000 false diff --git a/test/jdk/sun/security/x509/URICertStore/CRLReadTimeout.java b/test/jdk/sun/security/x509/URICertStore/CRLReadTimeout.java index f0d3246e5be..5018c844556 100644 --- a/test/jdk/sun/security/x509/URICertStore/CRLReadTimeout.java +++ b/test/jdk/sun/security/x509/URICertStore/CRLReadTimeout.java @@ -28,11 +28,16 @@ * @modules java.base/sun.security.x509 * java.base/sun.security.util * @library /test/lib - * @run main/othervm -Dcom.sun.security.crl.readtimeout=1 CRLReadTimeout 2000 false - * @run main/othervm -Dcom.sun.security.crl.readtimeout=1s CRLReadTimeout 2000 false - * @run main/othervm -Dcom.sun.security.crl.readtimeout=4 CRLReadTimeout 2000 true - * @run main/othervm -Dcom.sun.security.crl.readtimeout=1500ms CRLReadTimeout 2000 false - * @run main/othervm -Dcom.sun.security.crl.readtimeout=2750ms CRLReadTimeout 2000 true + * @run main/othervm -Dcom.sun.security.crl.readtimeout=1 + * CRLReadTimeout 5000 false + * @run main/othervm -Dcom.sun.security.crl.readtimeout=1s + * CRLReadTimeout 5000 false + * @run main/othervm -Dcom.sun.security.crl.readtimeout=4 + * CRLReadTimeout 1000 true + * @run main/othervm -Dcom.sun.security.crl.readtimeout=1500ms + * CRLReadTimeout 5000 false + * @run main/othervm -Dcom.sun.security.crl.readtimeout=4500ms + * CRLReadTimeout 1000 true */ import java.io.*;