changeset 12370:a4c7243016e5

8130041: TsacertOptionTest.java intermittently fails on Mac Reviewed-by: vinnie Contributed-by: asmotrak <artem.smotrakov@oracle.com>
author vinnie
date Tue, 14 Jul 2015 16:46:28 +0100
parents 3ca1201e1710
children 949ba12a8f13 236022dfb0c9
files test/sun/security/tools/jarsigner/TsacertOptionTest.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/tools/jarsigner/TsacertOptionTest.java	Tue Jan 31 10:35:06 2017 +0300
+++ b/test/sun/security/tools/jarsigner/TsacertOptionTest.java	Tue Jul 14 16:46:28 2015 +0100
@@ -114,6 +114,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,