8130041: TsacertOptionTest.java intermittently fails on Mac
authorvinnie
Tue, 14 Jul 2015 16:46:28 +0100
changeset 31647 9c848765e848
parent 31646 6abb6f423de4
child 31648 59d3491e3669
8130041: TsacertOptionTest.java intermittently fails on Mac Reviewed-by: vinnie Contributed-by: asmotrak <artem.smotrakov@oracle.com>
jdk/test/sun/security/tools/jarsigner/TsacertOptionTest.java
--- a/jdk/test/sun/security/tools/jarsigner/TsacertOptionTest.java	Tue Jul 14 00:53:09 2015 +0000
+++ b/jdk/test/sun/security/tools/jarsigner/TsacertOptionTest.java	Tue Jul 14 16:46:28 2015 +0100
@@ -120,6 +120,9 @@
             // specify -tsadigestalg option because
             // TSA server uses SHA-1 digest algorithm
              OutputAnalyzer analyzer = ProcessTools.executeCommand(JARSIGNER,
+                    "-J-Dhttp.proxyHost=",
+                    "-J-Dhttp.proxyPort=",
+                    "-J-Djava.net.useSystemProxies=",
                     "-verbose",
                     "-keystore", KEYSTORE,
                     "-storepass", PASSWORD,