@Test
public void testHaConf() {

  final Configuration conf = new Configuration();
  final String nsId = "cluster0";
  FsImageValidation.setHaConf(nsId, conf);
  Assert.assertTrue(HAUtil.isHAEnabled(conf, nsId));
}