summaryrefslogtreecommitdiffstats
path: root/luni/src
diff options
context:
space:
mode:
Diffstat (limited to 'luni/src')
-rw-r--r--luni/src/test/java/libcore/javax/net/ssl/SSLSocketTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/luni/src/test/java/libcore/javax/net/ssl/SSLSocketTest.java b/luni/src/test/java/libcore/javax/net/ssl/SSLSocketTest.java
index 2911b48..c3bcd25 100644
--- a/luni/src/test/java/libcore/javax/net/ssl/SSLSocketTest.java
+++ b/luni/src/test/java/libcore/javax/net/ssl/SSLSocketTest.java
@@ -686,9 +686,10 @@ public class SSLSocketTest extends TestCase {
} catch (SSLHandshakeException expected) {
assertTrue(expected.getCause() instanceof CertificateException);
}
+ future.get();
client.close();
server.close();
- future.get();
+ c.close();
}
public void test_SSLSocket_clientAuth() throws Exception {
@@ -821,6 +822,7 @@ public class SSLSocketTest extends TestCase {
@Override public Void call() throws Exception {
try {
server.startHandshake();
+ fail();
} catch (SSLHandshakeException expected) {
}
return null;