()
| 544 | } |
| 545 | |
| 546 | @Test |
| 547 | public void deleteRangeMultipleSalted() throws Exception { |
| 548 | setupStorage(true); |
| 549 | final int count = Annotation.deleteRange(tsdb, |
| 550 | new byte[] { 0, 0, 1, 0, 0, 1, 0, 0, 1}, 1388450560000L, |
| 551 | 1388450568000L).joinUninterruptibly(); |
| 552 | assertEquals(2, count); |
| 553 | assertNull(storage.getColumn(tsuid_row_key, |
| 554 | new byte[] { 1, 0x0A, 0x02 })); |
| 555 | assertNull(storage.getColumn(tsuid_row_key, |
| 556 | new byte[] { 1, 0x0A, 0x03 })); |
| 557 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 558 | new byte[] { 0x50, 0x10 })); |
| 559 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 560 | new byte[] { 0x50, 0x18 })); |
| 561 | } |
| 562 | |
| 563 | @Test |
| 564 | public void deleteRangeGlobal() throws Exception { |
nothing calls this directly
no test coverage detected