aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-04-16 23:28:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-16 23:28:11 +0000
commitc270fba02087eb59f83dd7f094f80c2152905482 (patch)
tree85e067b4d3c8ab795474825c7038eb63d22dee40
parent62fa6e834955a473061ec96ad1d2b3d1e7061201 (diff)
parent61ac65e2e5146a7a7ba48b27d1902663033d2dee (diff)
downloadokhttp-sdk-release.tar.gz
Merge "Snap for 11724015 from ca771941e54e4851fdc58fc4cf1f23bacd7698a2 to sdk-release" into sdk-releasesdk-release
-rw-r--r--okhttp-tests/src/test/java/com/squareup/okhttp/CallTest.java5
-rw-r--r--okhttp-tests/src/test/java/com/squareup/okhttp/URLConnectionTest.java4
-rw-r--r--okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/Http2ConnectionTest.java5
3 files changed, 11 insertions, 3 deletions
diff --git a/okhttp-tests/src/test/java/com/squareup/okhttp/CallTest.java b/okhttp-tests/src/test/java/com/squareup/okhttp/CallTest.java
index 605ca68..a6322d2 100644
--- a/okhttp-tests/src/test/java/com/squareup/okhttp/CallTest.java
+++ b/okhttp-tests/src/test/java/com/squareup/okhttp/CallTest.java
@@ -70,6 +70,7 @@ import okio.GzipSink;
import okio.Okio;
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestRule;
@@ -1640,7 +1641,9 @@ public final class CallTest {
return new InetSocketAddress(address.getAddress(), nullServer.getLocalPort());
}
- @Test public void cancelTagImmediatelyAfterEnqueue() throws Exception {
+ @Test
+ @Ignore("TODO(b/333847678 - diagnose and fix flake")
+ public void cancelTagImmediatelyAfterEnqueue() throws Exception {
server.enqueue(new MockResponse());
Call call = client.newCall(new Request.Builder()
.url(server.url("/a"))
diff --git a/okhttp-tests/src/test/java/com/squareup/okhttp/URLConnectionTest.java b/okhttp-tests/src/test/java/com/squareup/okhttp/URLConnectionTest.java
index 1976523..aa0b5c2 100644
--- a/okhttp-tests/src/test/java/com/squareup/okhttp/URLConnectionTest.java
+++ b/okhttp-tests/src/test/java/com/squareup/okhttp/URLConnectionTest.java
@@ -408,7 +408,9 @@ public final class URLConnectionTest {
testServerClosesOutput(SHUTDOWN_INPUT_AT_END);
}
- @Test public void serverShutdownOutput() throws Exception {
+ @Test
+ @Ignore("TODO(b/333847678 - diagnose and fix flake")
+ public void serverShutdownOutput() throws Exception {
testServerClosesOutput(SHUTDOWN_OUTPUT_AT_END);
}
diff --git a/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/Http2ConnectionTest.java b/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/Http2ConnectionTest.java
index 607b0b5..ee7f94a 100644
--- a/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/Http2ConnectionTest.java
+++ b/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/Http2ConnectionTest.java
@@ -28,6 +28,7 @@ import okio.BufferedSource;
import okio.Okio;
import okio.Source;
import org.junit.After;
+import org.junit.Ignore;
import org.junit.Test;
import static com.squareup.okhttp.TestUtil.headerEntries;
@@ -96,7 +97,9 @@ public final class Http2ConnectionTest {
}
}
- @Test public void peerHttp2ServerLowersInitialWindowSize() throws Exception {
+ @Test
+ @Ignore("TODO(b/333847678 - diagnose and fix flake")
+ public void peerHttp2ServerLowersInitialWindowSize() throws Exception {
try (MockSpdyPeer peer = new MockSpdyPeer()) {
peer.setVariantAndClient(HTTP_2, false);