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

Method flushCollisionsDisabled

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

Source from the content-addressed store, hash-verified

258 }
259
260 @Test
261 public void flushCollisionsDisabled() throws Exception {
262 setupStorage(true, true);
263 final Tree tree = buildTestTree();
264 tree.addCollision("010203", "AABBCCDD");
265 assertNotNull(tree.flushCollisions(storage.getTSDB())
266 .joinUninterruptibly());
267 assertEquals(4, storage.numRows(TREE_TABLE));
268 assertEquals(2, storage.numColumns(TREE_TABLE, new byte[] { 0, 1, 1 }));
269 }
270
271 @Test
272 public void flushCollisionsWCollisionExisting() 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