We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ceced3 commit 89b2000Copy full SHA for 89b2000
interop-testing/src/test/java/io/grpc/testing/integration/TransportCompressionTest.java
@@ -145,7 +145,7 @@ public void compresses() {
145
public void decompressedMessageTooLong() {
146
assertEquals(DECOMPRESSED_MESSAGE_TOO_LONG_METHOD_NAME, currentTest.getMethodName());
147
final SimpleRequest bigRequest = SimpleRequest.newBuilder()
148
- .setPayload(Payload.newBuilder().setBody(ByteString.copyFrom(new byte[271828])))
+ .setPayload(Payload.newBuilder().setBody(ByteString.copyFrom(new byte[10_000])))
149
.build();
150
StatusRuntimeException e = assertThrows(StatusRuntimeException.class,
151
() -> blockingStub.withCompression("gzip").unaryCall(bigRequest));
0 commit comments