* ArrayIndexOutOfBoundException when latency time coming as negative.
*/
@Test(timeout=60000)
public void testUpdateLatencyShouldNotFailWithAIOBEWithNegativeLatency()
throws Exception {
OpStats opStat = new OpStats();
opStat.updateLatency(-10);
assertEquals("Should not update any latency metrics", 0,
opStat.numSuccessOps);
}