server = new NettyServer(conf,
new WorkerRequestServerHandler.Factory(serverData), workerInfo,
context, new MockExceptionHandler());
server.start();
workerInfo.setInetSocketAddress(server.getMyAddress());
client = new NettyClient(context, conf, new WorkerInfo(),
new MockExceptionHandler());
client.connectAllAddresses(
Lists.<WorkerInfo>newArrayList(workerInfo));
// Send the request 2x, but should only be processed once