task = new FutureTask<Object>(new InFlightRequestIncrementCallable(clusterId));
executeTask(task);
Assert.assertEquals(incrementErrorMessage, 3, LoadBalancerStatisticsCollector.getInstance().getInFlightRequestCount(clusterId));
task = new FutureTask<Object>(new InFlightRequestDecrementCallable(clusterId));
executeTask(task);
Assert.assertEquals(decrementErrorMessage, 2, LoadBalancerStatisticsCollector.getInstance().getInFlightRequestCount(clusterId));
task = new FutureTask<Object>(new InFlightRequestDecrementCallable(clusterId));
executeTask(task);
Assert.assertEquals(decrementErrorMessage, 1, LoadBalancerStatisticsCollector.getInstance().getInFlightRequestCount(clusterId));
task = new FutureTask<Object>(new InFlightRequestDecrementCallable(clusterId));
executeTask(task);
Assert.assertEquals(decrementErrorMessage, 0, LoadBalancerStatisticsCollector.getInstance().getInFlightRequestCount(clusterId));
LoadBalancerStatisticsCollector.clear();
}