int [] metrics3 = {21, 44, 22, 14, 16};
int [] metrics4 = {122, 115, 222, 41,16};
setHealthData(metrics3, metrics4);
task.run();
Thread.sleep(100);
history = helixDataAccessor.getProperty(keyBuilder.alertHistory()).getRecord();
// new delta should be recorded
Assert.assertEquals(history.getMapFields().size(), 2 + historySize);
recordMap = new TreeMap<String, Map<String, String>>();
recordMap.putAll( history.getMapFields());
lastRecord = recordMap.lastEntry().getValue();