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

Method fetchCollisionsSingle

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

Source from the content-addressed store, hash-verified

457 }
458
459 @Test
460 public void fetchCollisionsSingle() throws Exception {
461 setupStorage(true, true);
462 final ArrayList<String> tsuids = new ArrayList<String>(1);
463 tsuids.add("020202");
464 Map<String, String> collisions =
465 Tree.fetchCollisions(storage.getTSDB(), 1, tsuids).joinUninterruptibly();
466 assertNotNull(collisions);
467 assertEquals(1, collisions.size());
468 assertTrue(collisions.containsKey("020202"));
469 }
470
471 @Test
472 public void fetchCollisionsSingleNotFound() throws Exception {

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected