()
| 269 | } |
| 270 | |
| 271 | @Test |
| 272 | public void syncToStorageOverwrite() throws Exception { |
| 273 | meta = new TSMeta(TSUID, 1357300800000L); |
| 274 | meta.setDisplayName("New DN"); |
| 275 | meta.syncToStorage(tsdb, true).joinUninterruptibly(); |
| 276 | assertEquals("New DN", meta.getDisplayName()); |
| 277 | assertEquals(0, meta.getRetention()); |
| 278 | } |
| 279 | |
| 280 | @Test (expected = IllegalStateException.class) |
| 281 | public void syncToStorageNoChanges() throws Exception { |
nothing calls this directly
no test coverage detected