rpcServer.getListenerAddress().getPort(), System.currentTimeMillis()),
User.getCurrent(), 1000);
TestDelayedRpcProtos.TestDelayedService.BlockingInterface stub =
TestDelayedRpcProtos.TestDelayedService.newBlockingStub(channel);
List<Integer> results = new ArrayList<Integer>();
TestThread th1 = new TestThread(stub, true, results);
th1.start();
Thread.sleep(100);
th1.join();
assertEquals(0xDEADBEEF, results.get(0).intValue());
} finally {
rpcClient.stop();
}