use of org.apache.accumulo.core.conf.SiteConfiguration in project accumulo by apache.
the class ServerOptsTest method testOverrideConfig.
@Test
public void testOverrideConfig() {
SiteConfiguration siteConf = SiteConfiguration.getInstance();
Assert.assertEquals("localhost:2181", siteConf.get(Property.INSTANCE_ZK_HOST));
opts.parseArgs(ServerOptsTest.class.getName(), new String[] { "-o", "instance.zookeeper.host=test:123" });
Assert.assertEquals("test:123", siteConf.get(Property.INSTANCE_ZK_HOST));
}
Aggregations