assertNotNull(nodeInfo.get("node_id"));
assertTrue(Long.valueOf(nodeInfo.get("took").toString()) > 0);
assertTrue(nodeInfo.get("imported_files").toString().matches(
"\\[\\{file_name=(.*)/importdata/import_4/import_4.json, successes=2, failures=0, invalidated=1}]"));
GetRequestBuilder rb = new GetRequestBuilder(esSetup.client(), "test");
GetResponse res = rb.setType("d").setId("402").setFields("_ttl", "_timestamp", "_routing").execute().actionGet();
assertEquals("the_routing", res.getField("_routing").getValue());
assertTrue(ttl - Long.valueOf(res.getField("_ttl").getValue().toString()) < 10000);
assertEquals(1367329785380L, res.getField("_timestamp").getValue());
res = rb.setType("d").setId("403").setFields("_ttl", "_timestamp").execute().actionGet();
assertTrue(ttl - Long.valueOf(res.getField("_ttl").getValue().toString()) < 10000);
assertTrue(now - Long.valueOf(res.getField("_timestamp").getValue().toString()) < 10000);
assertFalse(existsWithField("404", "name", "404"));
}