Skip to content

Commit 89b2000

Browse files
committed
CR
1 parent 9ceced3 commit 89b2000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interop-testing/src/test/java/io/grpc/testing/integration/TransportCompressionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public void compresses() {
145145
public void decompressedMessageTooLong() {
146146
assertEquals(DECOMPRESSED_MESSAGE_TOO_LONG_METHOD_NAME, currentTest.getMethodName());
147147
final SimpleRequest bigRequest = SimpleRequest.newBuilder()
148-
.setPayload(Payload.newBuilder().setBody(ByteString.copyFrom(new byte[271828])))
148+
.setPayload(Payload.newBuilder().setBody(ByteString.copyFrom(new byte[10_000])))
149149
.build();
150150
StatusRuntimeException e = assertThrows(StatusRuntimeException.class,
151151
() -> blockingStub.withCompression("gzip").unaryCall(bigRequest));

0 commit comments

Comments
 (0)