Skip to content

Commit 0a3284e

Browse files
committed
test round up for okhttp
1 parent 4f7a5e4 commit 0a3284e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

okhttp/src/test/java/io/grpc/okhttp/OkHttpWritableBufferAllocatorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public void testInitialCapacityHasMaximum() {
5555

5656
@Test
5757
public void testIsExactBelowMaxCapacity() {
58-
WritableBuffer buffer = allocator().allocate(4097);
58+
WritableBuffer buffer = allocator().allocate(Segment.SIZE + 1);
5959
assertEquals(0, buffer.readableBytes());
60-
assertEquals(Segment.SIZE, buffer.writableBytes());
60+
assertEquals(Segment.SIZE * 2, buffer.writableBytes());
6161
}
6262
}

0 commit comments

Comments
 (0)