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

Method flushCollisionsWCollisionExisting

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

Source from the content-addressed store, hash-verified

269 }
270
271 @Test
272 public void flushCollisionsWCollisionExisting() throws Exception {
273 setupStorage(true, true);
274 final Tree tree = buildTestTree();
275 tree.addCollision("010101", "AAAAAA");
276 assertNotNull(tree.flushCollisions(storage.getTSDB())
277 .joinUninterruptibly());
278 assertEquals(4, storage.numRows(TREE_TABLE));
279 assertEquals(2, storage.numColumns(TREE_TABLE, new byte[] { 0, 1, 1 }));
280 }
281
282 @Test
283 public void flushNotMatched() throws Exception {

Callers

nothing calls this directly

Calls 7

setupStorageMethod · 0.95
buildTestTreeMethod · 0.95
addCollisionMethod · 0.95
flushCollisionsMethod · 0.95
getTSDBMethod · 0.80
numRowsMethod · 0.80
numColumnsMethod · 0.80

Tested by

no test coverage detected