MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / overrideConfig

Method overrideConfig

test/utils/TestConfig.java:117–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 @Test
118 public void overrideConfig() throws Exception {
119 final Config config = new Config(false);
120 config.overrideConfig("tsd.core.bind", "127.0.0.1");
121 assertEquals("127.0.0.1", config.getString("tsd.core.bind"));
122 }
123
124 @Test
125 public void getString() throws Exception {

Callers 15

appendOutOfOrderFixedMethod · 0.45
beforeMethod · 0.45
initalizeBadRegexMethod · 0.45
allowUIDAssignmentMethod · 0.45
useLruMethod · 0.45
useLruLimitMethod · 0.45
useModeRWGetNameMethod · 0.45
useModeROGetNameMethod · 0.45
useModeWOGetNameMethod · 0.45

Calls 2

overrideConfigMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected