Suppressed a warning log caused by AbstractSocketServerBootstrapTest
This commit is contained in:
parent
f2267eb39c
commit
486eff6378
@ -99,6 +99,8 @@ public abstract class AbstractSocketServerBootstrapTest {
|
||||
bootstrap.setOption("child.receiveBufferSize", 9753);
|
||||
bootstrap.setOption("child.sendBufferSize", 8642);
|
||||
|
||||
bootstrap.getPipeline().addLast("dummy", new DummyHandler());
|
||||
|
||||
Channel channel = bootstrap.bind();
|
||||
ParentChannelHandler pch =
|
||||
channel.getPipeline().get(ParentChannelHandler.class);
|
||||
@ -197,4 +199,11 @@ public abstract class AbstractSocketServerBootstrapTest {
|
||||
result.append('1');
|
||||
}
|
||||
}
|
||||
|
||||
@ChannelPipelineCoverage("all")
|
||||
private static class DummyHandler extends SimpleChannelHandler {
|
||||
DummyHandler() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user