()
| 404 | // this doesn't throw an error or anything, just issues the delete request |
| 405 | // and it's ignored. |
| 406 | @Test |
| 407 | public void deleteNotFound() throws Exception { |
| 408 | setupStorage(false); |
| 409 | note.setTSUID(TSUID); |
| 410 | note.setStartTime(1388450561); |
| 411 | note.delete(tsdb).joinUninterruptibly(); |
| 412 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 413 | new byte[] { 1, 0x0A, 0x02 })); |
| 414 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 415 | new byte[] { 1, 0x0A, 0x03 })); |
| 416 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 417 | new byte[] { 0x50, 0x10 })); |
| 418 | assertNotNull(storage.getColumn(tsuid_row_key, |
| 419 | new byte[] { 0x50, 0x18 })); |
| 420 | } |
| 421 | |
| 422 | @Test (expected = IllegalArgumentException.class) |
| 423 | public void deleteMissingStart() throws Exception { |
nothing calls this directly
no test coverage detected