You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2014/12/15 16:09:25 UTC
svn commit: r1645675 -
/httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
Author: olegk
Date: Mon Dec 15 15:09:24 2014
New Revision: 1645675
URL: http://svn.apache.org/r1645675
Log:
Expanded expected exception type of the SSL client auth failure test case to make pass on Windows
Modified:
httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
Modified: httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java?rev=1645675&r1=1645674&r2=1645675&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java Mon Dec 15 15:09:24 2014
@@ -27,6 +27,7 @@
package org.apache.http.ssl;
+import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetSocketAddress;
@@ -346,7 +347,7 @@ public class TestSSLContextBuilder {
Assert.assertNull(clientPrincipal);
}
- @Test(expected = SSLHandshakeException.class)
+ @Test(expected = IOException.class)
public void testSSLHanskshakeClientUnauthenticatedError() throws Exception {
final URL resource1 = getClass().getResource("/test-server.keystore");
final String storePassword = "nopassword";