mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-24 16:04:00 +08:00
[ISSUE #3627]org.apache.rocketmq.broker.processor.SendMessageProcessorTest#testProcessRequest_WithMsgBack failed (#3629)
This commit is contained in:
+3
-1
@@ -88,7 +88,9 @@ public class SendMessageProcessorTest {
|
||||
Channel mockChannel = mock(Channel.class);
|
||||
when(mockChannel.remoteAddress()).thenReturn(new InetSocketAddress(1024));
|
||||
when(handlerContext.channel()).thenReturn(mockChannel);
|
||||
when(messageStore.lookMessageByOffset(anyLong())).thenReturn(new MessageExt());
|
||||
MessageExt messageExt = new MessageExt();
|
||||
messageExt.setTopic(topic);
|
||||
when(messageStore.lookMessageByOffset(anyLong())).thenReturn(messageExt);
|
||||
sendMessageProcessor = new SendMessageProcessor(brokerController);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user