serverDispatcher.setServer(
1,
new RequestQueueServer<SimpleRequest>(
1,
new FailingRequestHandler(new Random(seed), total - 50)));
client = new RequestQueueClient(
1, new FailingSocketFactory(new Random(seed + 1)),
failureReporter, MAX_RETRY, RETRY_WAIT, QUEUE_SIZE);
final AtomicBoolean clientDone = new AtomicBoolean(false);
clientThread = new InterruptableThread() {
private int count = 0;