@Test
public void testHTTPGetConnectionTimeOut() throws Exception{

    Task task = new Task();
    Input input = new Input();
    Instant start  = Instant.now();
    input.setConnectionTimeOut(110);
    input.setMethod("GET");
    input.setUri("http://10.255.14.15");
    task.getInputData().put(HttpTask.REQUEST_PARAMETER_NAME, input);
    task.setStatus(Status.SCHEDULED);
    task.setScheduledTime(0);
    httpTask.start(workflow,task,workflowExecutor);
    Instant end  = Instant.now();
    long diff = end.toEpochMilli()-start.toEpochMilli();
    Assert.assertEquals(task.getStatus(),Status.FAILED);
    Assert.assertTrue(diff >= 110l);
}