Fix binary server startup issue
@@ -124,11 +124,8 @@ public class DatabridgeTestServer {
if (protocol.equalsIgnoreCase("binary")) {
binaryDataReceiver = new BinaryDataReceiver(new BinaryDataReceiverConfiguration(receiverPort + 100,
receiverPort), databridge);
- try {
binaryDataReceiver.start();
- } catch (IOException e) {
- log.error("Error occurred when reading the file : " + e.getMessage(), e);
- }
+
} else {
thriftDataReceiver = new ThriftDataReceiver(receiverPort, databridge);
thriftDataReceiver.start(host);
