mirror of
https://github.com/square/okhttp.git
synced 2026-01-15 20:56:41 +03:00
Merge pull request #3069 from yschimke/java_9_test_failures
temporarily ignore failures with java 9
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
package okhttp3.internal.tls;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.SocketException;
|
||||
import java.security.GeneralSecurityException;
|
||||
import javax.net.ssl.SSLHandshakeException;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
@@ -162,6 +163,8 @@ public final class ClientAuthTest {
|
||||
call.execute();
|
||||
fail();
|
||||
} catch (SSLHandshakeException expected) {
|
||||
} catch (SocketException expected) {
|
||||
// JDK 9
|
||||
}
|
||||
}
|
||||
|
||||
@@ -183,6 +186,8 @@ public final class ClientAuthTest {
|
||||
call.execute();
|
||||
fail();
|
||||
} catch (SSLHandshakeException expected) {
|
||||
} catch (SocketException expected) {
|
||||
// JDK 9
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user