changeset 55842:7e8f6c56c285

8228341: SignTwice.java fails intermittently on Windows Reviewed-by: mullan
author weijun
date Wed, 24 Jul 2019 10:09:30 +0800
parents c449f430ac3f
children 6a159c6c23cc
files test/jdk/ProblemList.txt test/jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/ProblemList.txt	Wed Jul 24 10:09:22 2019 +0800
+++ b/test/jdk/ProblemList.txt	Wed Jul 24 10:09:30 2019 +0800
@@ -661,7 +661,6 @@
 sun/security/tools/keytool/KeyToolTest.java                     8224644 solaris-all
 sun/security/tools/keytool/WeakAlg.java                         8224644 solaris-all
 
-sun/security/tools/jarsigner/compatibility/SignTwice.java       8228341 windows-all
 sun/security/tools/jarsigner/warnings/BadKeyUsageTest.java      8026393 generic-all
 
 javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java       8212096 generic-all
--- a/test/jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java	Wed Jul 24 10:09:22 2019 +0800
+++ b/test/jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java	Wed Jul 24 10:09:30 2019 +0800
@@ -36,7 +36,7 @@
  * @test
  * @library /test/lib ../warnings
  * @compile Compatibility.java
- * @run main/othervm
+ * @run main/othervm/timeout=600
  *  -Djava.security.properties=./java.security
  *  -Duser.language=en
  *  -Duser.country=US
@@ -46,8 +46,8 @@
  *  -DtestComprehensiveJarContents=true
  *  -DtestJarUpdate=true
  *  -Dstrict=true
- *  -DkeyAlgs=EC;#RSA;#DSA;
- *  -DdigestAlgs=SHA-512
+ *  -DkeyAlgs=EC;0
+ *  -DdigestAlgs=SHA-256
  *  SignTwice
  */
 public class SignTwice {