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

Method deleteRangeNone

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

Source from the content-addressed store, hash-verified

493 }
494
495 @Test
496 public void deleteRangeNone() throws Exception {
497 setupStorage(false);
498 final int count = Annotation.deleteRange(tsdb,
499 new byte[] { 0, 0, 1, 0, 0, 1, 0, 0, 1}, 1388450560000L,
500 1388450561000L).joinUninterruptibly();
501 assertEquals(0, count);
502 assertNotNull(storage.getColumn(tsuid_row_key,
503 new byte[] { 1, 0x0A, 0x02 }));
504 assertNotNull(storage.getColumn(tsuid_row_key,
505 new byte[] { 1, 0x0A, 0x03 }));
506 assertNotNull(storage.getColumn(tsuid_row_key,
507 new byte[] { 0x50, 0x10 }));
508 assertNotNull(storage.getColumn(tsuid_row_key,
509 new byte[] { 0x50, 0x18 }));
510 }
511
512 @Test
513 public void deleteRangeNoneSalted() throws Exception {

Callers

nothing calls this directly

Calls 3

setupStorageMethod · 0.95
deleteRangeMethod · 0.95
getColumnMethod · 0.80

Tested by

no test coverage detected