Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8309740: Expand timeout windows for tests in JDK-8179502 #3055

Open
wants to merge 1 commit into
base: pr/2747
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down
10 changes: 5 additions & 5 deletions test/jdk/sun/security/x509/URICertStore/AIACertTimeout.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 10 additions & 5 deletions test/jdk/sun/security/x509/URICertStore/CRLReadTimeout.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down