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

Method deleteRangeGlobalSalted

test/meta/TestAnnotation.java:575–585  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

573 }
574
575 @Test
576 public void deleteRangeGlobalSalted() throws Exception {
577 setupStorage(true);
578 final int count = Annotation.deleteRange(tsdb, null, 1328140799000L,
579 1328140800000L).joinUninterruptibly();
580 assertEquals(1, count);
581 assertNull(storage.getColumn(global_row_key,
582 new byte[] { 1, 0, 0 }));
583 assertNotNull(storage.getColumn(global_row_key,
584 new byte[] { 1, 0, 1 }));
585 }
586
587 @Test
588 public void deleteRangeGlobalNone() throws Exception {

Callers

nothing calls this directly

Calls 3

setupStorageMethod · 0.95
deleteRangeMethod · 0.95
getColumnMethod · 0.80

Tested by

no test coverage detected