提交 1d3a5083 编写于 作者: Q qqeasonchen

[RIP-16]fix test case error

上级 46b2e125
...@@ -20,6 +20,7 @@ import io.netty.channel.Channel; ...@@ -20,6 +20,7 @@ import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFuture;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.HashMap; import java.util.HashMap;
import org.apache.rocketmq.remoting.protocol.LanguageCode;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
...@@ -42,7 +43,7 @@ public class ProducerManagerTest { ...@@ -42,7 +43,7 @@ public class ProducerManagerTest {
@Before @Before
public void init() { public void init() {
producerManager = new ProducerManager(); producerManager = new ProducerManager();
clientInfo = new ClientChannelInfo(channel); clientInfo = new ClientChannelInfo(channel, "clientId", LanguageCode.JAVA, 0);
} }
@Test @Test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册