changeset 12328:78fcb2e094db

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 03fbc49ca861
children 9fc099204b88
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 Jul 14 00:53:09 2015 +0000
+++ b/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,