Assert.assertEquals("(1)Should be 2 namenodes", 2, cluster.getNumNameNodes());
// add a node
cluster.addNameNode(conf);
Assert.assertEquals("(1)Should be 3 namenodes", 3, cluster.getNumNameNodes());
cluster.shutDown();
// 2. start with Federation flag set
conf = new Configuration();
cluster = new MiniAvatarCluster(conf, 1, true, null, null, 1, true);
Assert.assertNotNull(cluster);