@Test
public void testOverrideGossipServers() {

  FlumeConfiguration cfg = new TestableConfiguration();
  cfg.set(FlumeConfiguration.MASTER_GOSSIP_SERVERS,
      "hostA:57891,hostB:57892,hostC:57893");
  cfg.setInt(FlumeConfiguration.MASTER_SERVER_ID, 1);
  assertEquals(57892, cfg.getMasterGossipPort());
  // try with spaces in list
  cfg.set(FlumeConfiguration.MASTER_GOSSIP_SERVERS,
      "hostA:57891 ,  hostB:57892 , hostC:57893");
  cfg.setInt(FlumeConfiguration.MASTER_SERVER_ID, 1);
  assertEquals(57892, cfg.getMasterGossipPort());
}