Skip to content

Commit

Permalink
Merge pull request #6104 from yschimke/avoid_bouncy_cancels
Browse files Browse the repository at this point in the history
Avoid BouncyCastle failures
  • Loading branch information
swankjesse committed Jun 2, 2020
2 parents e5c8461 + 041562b commit b086b8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ class CancelTest(mode: Pair<CancelMode, ConnectionType>) {
platform.assumeHttp2Support()
}

platform.assumeNotBouncyCastle()

// Sockets on some platforms can have large buffers that mean writes do not block when
// required. These socket factories explicitly set the buffer sizes on sockets created.
server = MockWebServer()
Expand Down

0 comments on commit b086b8d

Please sign in to comment.