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

Method getAnnotationGlobal

test/meta/TestAnnotation.java:108–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 @Test
109 public void getAnnotationGlobal() throws Exception {
110 setupStorage(false);
111 note = Annotation.getAnnotation(tsdb, 1328140800000L)
112 .joinUninterruptibly();
113 assertNotNull(note);
114 assertEquals("", note.getTSUID());
115 assertEquals("Description", note.getDescription());
116 assertEquals(1328140800L, note.getStartTime());
117 }
118
119 @Test
120 public void getAnnotationGlobalSalted() throws Exception {

Callers

nothing calls this directly

Calls 5

setupStorageMethod · 0.95
getAnnotationMethod · 0.95
getStartTimeMethod · 0.65
getTSUIDMethod · 0.45
getDescriptionMethod · 0.45

Tested by

no test coverage detected