mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed test
This commit is contained in:
@@ -50,7 +50,7 @@ public class SessionHandler extends SimpleChannelHandler {
|
||||
this.embeddedServer = embeddedServer;
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "deprecation", "deprecation" })
|
||||
@SuppressWarnings({ "deprecation" })
|
||||
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws Exception {
|
||||
logger.info("message receives in session handler...");
|
||||
long start = System.nanoTime();
|
||||
|
||||
@@ -56,6 +56,7 @@ public class ProtocolTest {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private byte[] buildData(Message message) throws IOException {
|
||||
List<ByteString> rowEntries = message.getRawEntries();
|
||||
// message size
|
||||
|
||||
Reference in New Issue
Block a user