()
| 527 | } |
| 528 | |
| 529 | @Test |
| 530 | public void deleteRangeMultiple() throws Exception { |
| 531 | setupStorage(false); |
| 532 | final int count = Annotation.deleteRange(tsdb, |
| 533 | new byte[] { 0, 0, 1, 0, 0, 1, 0, 0, 1}, 1388450560000L, |
| 534 | 1388450568000L).joinUninterruptibly(); |
| 535 | assertEquals(2, count); |
| 536 | assertNull(storage.getColumn(tsuid_row_key, |
| 537 | new byte[] { 1, 0x0A, 0x02 })); |
| 538 | assertNull(storage.getColumn(tsuid_row_key, |
| 539 | new byte[] { 1, 0x0A, 0x03 })); |
| 540 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 541 | new byte[] { 0x50, 0x10 })); |
| 542 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 543 | new byte[] { 0x50, 0x18 })); |
| 544 | } |
| 545 | |
| 546 | @Test |
| 547 | public void deleteRangeMultipleSalted() throws Exception { |
nothing calls this directly
no test coverage detected