diff --git a/redis/redis-proxy/src/test/java/com/ctrip/xpipe/redis/proxy/integrate/AbstractProxyIntegrationTest.java b/redis/redis-proxy/src/test/java/com/ctrip/xpipe/redis/proxy/integrate/AbstractProxyIntegrationTest.java index 4f9f0fcae..9c8d40581 100644 --- a/redis/redis-proxy/src/test/java/com/ctrip/xpipe/redis/proxy/integrate/AbstractProxyIntegrationTest.java +++ b/redis/redis-proxy/src/test/java/com/ctrip/xpipe/redis/proxy/integrate/AbstractProxyIntegrationTest.java @@ -205,7 +205,7 @@ public ReceiveHandler(AtomicReference buffer) { public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { ByteBuf byteBuf = (ByteBuf) msg; byteBuf.retain(); - cumulator.cumulate(ctx.channel().alloc(), cumulation, byteBuf); + cumulation = cumulator.cumulate(ctx.channel().alloc(), cumulation, byteBuf); buffer.set(cumulation); super.channelRead(ctx, msg); }