@Test
public void testFlushMaxActions() throws Exception {

  assertEquals(1000, EMPTY_CONFIG.getBulkFlushMaxActions());
  ElasticsearchConfig config = configForProperty("systems.es.flush.max.actions", "500");
  assertEquals(500, config.getBulkFlushMaxActions());
}