Increase `EncodingListAppender` buffer size
@@ -43,7 +43,7 @@ public class EncodingListAppender extends ListAppender {
private static class Destination implements ByteBufferDestination {
// JUnit 5 stack traces can start to get looooong
- ByteBuffer byteBuffer = ByteBuffer.wrap(new byte[8192]);
+ ByteBuffer byteBuffer = ByteBuffer.wrap(new byte[16384]);
@Override
public ByteBuffer getByteBuffer() {
@@ -52,7 +52,7 @@ public class EncodingListAppender extends ListAppender {
@Override
public ByteBuffer drain(final ByteBuffer buf) {
- throw new IllegalStateException("Unexpected message larger than 4096 bytes");
+ throw new IllegalStateException("Unexpected message larger than 16384 bytes");
}
@Override
