()
| 283 | } |
| 284 | |
| 285 | @Test |
| 286 | public void syncToStorageGlobal() throws Exception { |
| 287 | setupStorage(false); |
| 288 | note.setStartTime(1328140800L); |
| 289 | note.setDescription("Synced!"); |
| 290 | note.syncToStorage(tsdb, false).joinUninterruptibly(); |
| 291 | final byte[] col = storage.getColumn(global_row_key, |
| 292 | new byte[] { 1, 0, 0 }); |
| 293 | note = JSON.parseToObject(col, Annotation.class); |
| 294 | assertEquals("", note.getTSUID()); |
| 295 | assertEquals("Synced!", note.getDescription()); |
| 296 | assertEquals("Notes", note.getNotes()); |
| 297 | } |
| 298 | |
| 299 | @Test |
| 300 | public void syncToStorageGlobalSalted() throws Exception { |
nothing calls this directly
no test coverage detected