()
| 476 | } |
| 477 | |
| 478 | @Test |
| 479 | public void deleteRangeSalted() throws Exception { |
| 480 | setupStorage(true); |
| 481 | final int count = Annotation.deleteRange(tsdb, |
| 482 | new byte[] { 0, 0, 1, 0, 0, 1, 0, 0, 1}, 1388450560000L, |
| 483 | 1388450562000L).joinUninterruptibly(); |
| 484 | assertEquals(1, count); |
| 485 | assertNull(storage.getColumn(tsuid_row_key, |
| 486 | new byte[] { 1, 0x0A, 0x02 })); |
| 487 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 488 | new byte[] { 1, 0x0A, 0x03 })); |
| 489 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 490 | new byte[] { 0x50, 0x10 })); |
| 491 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 492 | new byte[] { 0x50, 0x18 })); |
| 493 | } |
| 494 | |
| 495 | @Test |
| 496 | public void deleteRangeNone() throws Exception { |
nothing calls this directly
no test coverage detected