public void testSuspendTimeout() {
logger.info("running test: testSuspendTimeout");
AsyncHttpClient c = new AsyncHttpClient();
try {
long t1 = System.currentTimeMillis();
Response r = c.prepareGet(urlTarget).execute().get(10, TimeUnit.SECONDS);
assertNotNull(r);
assertEquals(r.getStatusCode(), 200);
String resume = r.getResponseBody();
assertEquals(resume, "resume");
long current = System.currentTimeMillis() - t1;