@Test
public void testSetShards() throws Exception {

	final String indexTemplate = modifyIndexTemplate("es/6/stagemonitor-elasticsearch-metrics-index-template.json", 0, -1, 1);
	assertFalse(indexTemplate.contains("hot"));
	assertEquals(1, JsonUtils.getMapper().readTree(indexTemplate).get("settings").get("index").get("number_of_shards").asInt());
	assertFalse(indexTemplate.contains("number_of_replicas"));
}