()
| 297 | } |
| 298 | |
| 299 | @Test |
| 300 | public void syncToStorageGlobalSalted() throws Exception { |
| 301 | setupStorage(true); |
| 302 | note.setStartTime(1328140800L); |
| 303 | note.setDescription("Synced!"); |
| 304 | note.syncToStorage(tsdb, false).joinUninterruptibly(); |
| 305 | final byte[] col = storage.getColumn(global_row_key, |
| 306 | new byte[] { 1, 0, 0 }); |
| 307 | note = JSON.parseToObject(col, Annotation.class); |
| 308 | assertEquals("", note.getTSUID()); |
| 309 | assertEquals("Synced!", note.getDescription()); |
| 310 | assertEquals("Notes", note.getNotes()); |
| 311 | } |
| 312 | |
| 313 | @Test |
| 314 | public void syncToStorageGlobalMilliseconds() throws Exception { |
nothing calls this directly
no test coverage detected