final SocketFudgeMessageSender sender = new SocketFudgeMessageSender();
sender.setInetAddress(InetAddress.getLocalHost());
sender.setPortNumber(server.getPortNumber());
sender.send(FudgeContext.EMPTY_MESSAGE);
sender.send(FudgeContext.EMPTY_MESSAGE);
assertNotNull (receiver.waitForMessage(2000));
assertNotNull (receiver.waitForMessage(2000));
}
public void parallelSendTest_single() throws Exception {
for (int retry = 0; retry < 3; retry++) {