mirror of
https://github.com/square/okhttp.git
synced 2026-01-14 07:22:20 +03:00
Testing fix/workaround for missingPongsFailsConnection with JDK12 (#5584)
This commit is contained in:
@@ -112,12 +112,12 @@ public final class HttpOverHttp2Test {
|
||||
return asList(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_2);
|
||||
}
|
||||
|
||||
private PlatformRule platform = new PlatformRule();
|
||||
private final PlatformRule platform = new PlatformRule();
|
||||
private final OkHttpClientTestRule clientTestRule = new OkHttpClientTestRule();
|
||||
@Rule public final TestRule chain =
|
||||
RuleChain.outerRule(platform).around(new Timeout(5, SECONDS));
|
||||
RuleChain.outerRule(platform).around(clientTestRule).around(new Timeout(5, SECONDS));
|
||||
@Rule public final TemporaryFolder tempDir = new TemporaryFolder();
|
||||
@Rule public final MockWebServer server = new MockWebServer();
|
||||
@Rule public final OkHttpClientTestRule clientTestRule = new OkHttpClientTestRule();
|
||||
|
||||
private OkHttpClient client;
|
||||
private Cache cache;
|
||||
|
||||
Reference in New Issue
Block a user