8130041: TsacertOptionTest.java intermittently fails on Mac
Reviewed-by: vinnie
Contributed-by: asmotrak <artem.smotrakov@oracle.com>
--- 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,