Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
yirutang committed Nov 10, 2023
1 parent 2df610d commit cebe9b9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,8 @@ public void run() throws Throwable {
public void testMessageTooLarge() throws Exception {
StreamWriter writer = getTestStreamWriter();

String oversized = Strings.repeat("a", (int) (StreamWriter.getApiMaxRequestBytes() + 1));
// There is an oppotunity to allow 20MB requests.
String oversized = Strings.repeat("a", (int) (StreamWriter.getApiMaxRequestBytes() * 2 + 1));
ApiFuture<AppendRowsResponse> appendFuture1 = sendTestMessage(writer, new String[] {oversized});
assertTrue(appendFuture1.isDone());
StatusRuntimeException actualError =
Expand Down

0 comments on commit cebe9b9

Please sign in to comment.