Skip to content

Commit

Permalink
Make a flaky test less flaky.
Browse files Browse the repository at this point in the history
  • Loading branch information
swankjesse committed Apr 15, 2014
1 parent b77be40 commit 1e28ddb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public final class DisconnectTest {
private final OkHttpClient client = new OkHttpClient();

@Test public void interruptWritingRequestBody() throws Exception {
int requestBodySize = 2 * 1024 * 1024; // 2 MiB
int requestBodySize = 200 * 1024 * 1024; // 2 MiB

server.enqueue(new MockResponse()
.throttleBody(64 * 1024, 125, TimeUnit.MILLISECONDS)); // 500 Kbps
Expand Down

0 comments on commit 1e28ddb

Please sign in to comment.