Commit f7ff5d59 by olly Committed by Oliver Woodman

Make BatchBufferTest allocate less memory

Setting to 2x BATCH_SIZE_BYTES

PiperOrigin-RevId: 331124129
parent be68d13b
......@@ -33,7 +33,7 @@ import org.junit.runner.RunWith;
public final class BatchBufferTest {
/** Bigger than {@code BatchBuffer.BATCH_SIZE_BYTES} */
private static final int BUFFER_SIZE_LARGER_THAN_BATCH_SIZE_BYTES = 100 * 1000 * 1000;
private static final int BUFFER_SIZE_LARGER_THAN_BATCH_SIZE_BYTES = 6 * 1000 * 1024;
/** Smaller than {@code BatchBuffer.BATCH_SIZE_BYTES} */
private static final int BUFFER_SIZE_MUCH_SMALLER_THAN_BATCH_SIZE_BYTES = 100;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment