task.run();
Thread.sleep(100);
HelixDataAccessor helixDataAccessor = manager.getHelixDataAccessor();
Builder keyBuilder = helixDataAccessor.keyBuilder();
AlertHistory history = manager.getHelixDataAccessor().getProperty(keyBuilder.alertHistory());
//
Assert.assertEquals(history, null);
properties.put("healthChange.enabled", "true");
_setupTool.getClusterManagementTool().setConfig(scope, properties);
task.run();
Thread.sleep(100);
history = manager.getHelixDataAccessor().getProperty(keyBuilder.alertHistory());
//
Assert.assertNotNull(history);
Assert.assertEquals(history.getRecord().getMapFields().size(), 1);
}