Skip to content

Commit

Permalink
8309740: Expand timeout windows for tests in JDK-8179502
Browse files Browse the repository at this point in the history
Backport-of: 5ca4cdd
  • Loading branch information
Alexey Bakhtin committed Jan 17, 2025
1 parent 25c7a7b commit 2b8c19a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
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

0 comments on commit 2b8c19a

Please sign in to comment.