@Test
public void testParseStaleDatanodeListMultipleDatanodes() throws Exception {

  String json = "{"
      + "\"1.2.3.4:1\": {\"numBlocks\": 0}, "
      + "\"1.2.3.4:2\": {\"numBlocks\": 15}, "
      + "\"1.2.3.4:3\": {\"numBlocks\": 5}, "
      + "\"1.2.3.4:4\": {\"numBlocks\": 10} "
      + "}";
  Set<String> out = DynoInfraUtils.parseStaleDataNodeList(json, 10, LOG);
  assertEquals(2, out.size());
  assertTrue(out.contains("1.2.3.4:1"));
  assertTrue(out.contains("1.2.3.4:3"));
}