* @throws EventDeliveryException
*/
@Test
public void testAppendWithMaxIOWorkers() throws FlumeException, EventDeliveryException {
NettyAvroRpcClient client = null;
Server server = RpcTestUtils.startServer(new OKAvroHandler());
Properties props = new Properties();
props.setProperty(RpcClientConfigurationConstants.CONFIG_HOSTS, "localhost");
props.setProperty(RpcClientConfigurationConstants.CONFIG_HOSTS_PREFIX + "localhost", localhost
+ ":" + server.getPort());
props.setProperty(RpcClientConfigurationConstants.MAX_IO_WORKERS, Integer.toString(2));