MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / syncToStorageOverwrite

Method syncToStorageOverwrite

test/meta/TestTSMeta.java:271–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 4

getRetentionMethod · 0.80
setDisplayNameMethod · 0.45
syncToStorageMethod · 0.45
getDisplayNameMethod · 0.45

Tested by

no test coverage detected