MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / storeTree

Method storeTree

test/tree/TestTree.java:215–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 }
214
215 @Test
216 public void storeTree() throws Exception {
217 setupStorage(true, true);
218 final Tree tree = buildTestTree();
219 tree.setName("New Name");
220 assertNotNull(tree.storeTree(storage.getTSDB(), false)
221 .joinUninterruptibly());
222 }
223
224 @Test (expected = IllegalStateException.class)
225 public void storeTreeNoChanges() throws Exception {

Callers

nothing calls this directly

Calls 5

setupStorageMethod · 0.95
buildTestTreeMethod · 0.95
setNameMethod · 0.95
storeTreeMethod · 0.95
getTSDBMethod · 0.80

Tested by

no test coverage detected