()
| 459 | } |
| 460 | |
| 461 | @Test |
| 462 | public void deleteRange() throws Exception { |
| 463 | setupStorage(false); |
| 464 | final int count = Annotation.deleteRange(tsdb, |
| 465 | new byte[] { 0, 0, 1, 0, 0, 1, 0, 0, 1}, 1388450560000L, |
| 466 | 1388450562000L).joinUninterruptibly(); |
| 467 | assertEquals(1, count); |
| 468 | assertNull(storage.getColumn(tsuid_row_key, |
| 469 | new byte[] { 1, 0x0A, 0x02 })); |
| 470 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 471 | new byte[] { 1, 0x0A, 0x03 })); |
| 472 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 473 | new byte[] { 0x50, 0x10 })); |
| 474 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 475 | new byte[] { 0x50, 0x18 })); |
| 476 | } |
| 477 | |
| 478 | @Test |
| 479 | public void deleteRangeSalted() throws Exception { |
nothing calls this directly
no test coverage detected