@Test(groups = { "standalone", "default_provider", "async" }, enabled = false)
public void asyncStatusHEADContentLenghtTest() throws Exception {
AsyncHttpClient client = getAsyncHttpClient(new AsyncHttpClientConfig.Builder().setRequestTimeout(120 * 1000).build());
try {
final CountDownLatch l = new CountDownLatch(1);
Request request = new RequestBuilder("HEAD").setUrl(getTargetUrl()).build();
client.executeRequest(request, new AsyncCompletionHandlerAdapter() {
@Override
public Response onCompleted(Response response) throws Exception {
fail();