()
| 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 { |
nothing calls this directly
no test coverage detected