@Test public void exceedMaxSize() { this.decoder.setMaxMessageSize(1); Mono<DataBuffer> input = dataBuffer(this.testMsg1); testDecode(input, Msg.class, step -> step .verifyError(DecodingException.class)); }
this.decoder.setMaxMessageSize(100009); StringBuilder builder = new StringBuilder(); for (int i = 0; i < 10000; i++) {