From 764ea3d867b544de457aac2d02327d7b796d4a5c Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Tue, 2 Dec 2014 15:28:24 +0000 Subject: Changes needed to support OkHttp upgrade Change-Id: Ifd6ed8ab22e7fd5d8cb8c9eb28976291d125c0e4 --- expectations/knownfailures.txt | 43 ++++-------------------------------------- 1 file changed, 4 insertions(+), 39 deletions(-) (limited to 'expectations') diff --git a/expectations/knownfailures.txt b/expectations/knownfailures.txt index cf93bab..0526b64 100644 --- a/expectations/knownfailures.txt +++ b/expectations/knownfailures.txt @@ -1454,46 +1454,11 @@ name: "org.apache.harmony.tests.java.util.GregorianCalendarTest#test_computeTime" }, { - description: "SpdyConnection issue https://github.com/square/okhttp/issues/644 crashes the test app. Android does not provide SPDY/HTTP_2 connections by default so have been suppressed.", - bug: 14462336, + description: "OkHttp tests require SOCKS 5 support. Android PlainSocketImpl implements SOCKS 4", + bug: 96926, names: [ - "com.squareup.okhttp.ConnectionPoolTest", - "com.squareup.okhttp.internal.spdy.SpdyConnectionTest", - "com.squareup.okhttp.internal.http.HttpOverHttp20Draft09Test", - "com.squareup.okhttp.internal.http.HttpOverSpdy3Test", - "com.squareup.okhttp.internal.http.URLConnectionTest#npnSetsProtocolHeader_SPDY_3", - "com.squareup.okhttp.internal.http.URLConnectionTest#npnSetsProtocolHeader_HTTP_2", - "com.squareup.okhttp.internal.http.URLConnectionTest#zeroLengthPost_SPDY_3", - "com.squareup.okhttp.internal.http.URLConnectionTest#zeroLengthPost_HTTP_2", - "com.squareup.okhttp.internal.http.URLConnectionTest#zeroLengthPut_SPDY_3", - "com.squareup.okhttp.internal.http.URLConnectionTest#zeroLengthPut_HTTP_2" - ] -}, -{ - description: "Some OkHttp tests were written before the introduction of TLS_FALLBACK_SCSV and have only been fixed for APIs used by Android", - bug: 17962997, - names: [ - "com.squareup.okhttp.SyncApiTest#recoverFromTlsHandshakeFailure", - "com.squareup.okhttp.AsyncApiTest#recoverFromTlsHandshakeFailure" - ] -}, -{ - description: "JavaApiConverterTest#createOkResponse_fromJavaHttpsUrlConnection works independently but fails when run with some other test(s).", - bug: 17962997, - name: "com.squareup.okhttp.internal.http.JavaApiConverterTest#createOkResponse_fromJavaHttpsUrlConnection" -}, -{ - description: "Okhttp test hardcodes the TLS version expected.", - bug: 14462336, - names: [ - "com.squareup.okhttp.internal.http.URLConnectionTest#sslFallbackNotUsedWhenRecycledConnectionFails" - ] -}, -{ - description: "The test relies on SimpleDateFormat zzz producing GMT not GMT+00:00 as it does on Android. Android issue 66136.", - bug: 14462336, - names: [ - "com.squareup.okhttp.internal.http.HttpResponseCacheTest#setIfModifiedSince" + "com.squareup.okhttp.SocksProxyTest#proxy", + "com.squareup.okhttp.SocksProxyTest#proxySelector" ] }, { -- cgit v1.1