From 777285011e81d145b067a6e73816a6a5c533057f Mon Sep 17 00:00:00 2001 From: qqeasonchen Date: Wed, 25 Sep 2019 10:31:31 +0800 Subject: [PATCH] fix unit test err --- .../rocketmq/broker/processor/ReplyMessageProcessorTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/broker/src/test/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessorTest.java b/broker/src/test/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessorTest.java index f48594eb..a28f7806 100644 --- a/broker/src/test/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessorTest.java +++ b/broker/src/test/java/org/apache/rocketmq/broker/processor/ReplyMessageProcessorTest.java @@ -92,7 +92,6 @@ public class ReplyMessageProcessorTest { Channel mockChannel = mock(Channel.class); when(mockChannel.remoteAddress()).thenReturn(new InetSocketAddress(1024)); when(handlerContext.channel()).thenReturn(mockChannel); - when(messageStore.lookMessageByOffset(anyLong())).thenReturn(new MessageExt()); replyMessageProcessor = new ReplyMessageProcessor(brokerController); } -- GitLab