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

Method fetchAllCollisions

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

Source from the content-addressed store, hash-verified

436 }
437
438 @Test
439 public void fetchAllCollisions() throws Exception {
440 setupStorage(true, true);
441 Map<String, String> collisions =
442 Tree.fetchCollisions(storage.getTSDB(), 1, null).joinUninterruptibly();
443 assertNotNull(collisions);
444 assertEquals(2, collisions.size());
445 assertTrue(collisions.containsKey("010101"));
446 assertTrue(collisions.containsKey("020202"));
447 }
448
449 @Test
450 public void fetchAllCollisionsNone() throws Exception {

Callers

nothing calls this directly

Calls 4

setupStorageMethod · 0.95
fetchCollisionsMethod · 0.95
getTSDBMethod · 0.80
sizeMethod · 0.65

Tested by

no test coverage detected