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

Method getAnnotationSalted

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

Source from the content-addressed store, hash-verified

84 }
85
86 @Test
87 public void getAnnotationSalted() throws Exception {
88 setupStorage(true);
89 note = Annotation.getAnnotation(tsdb, TSUID, 1388450562L)
90 .joinUninterruptibly();
91 assertNotNull(note);
92 assertEquals(TSUID, note.getTSUID());
93 assertEquals("Hello!", note.getDescription());
94 assertEquals(1388450562L, note.getStartTime());
95 }
96
97 @Test
98 public void getAnnotationNormalizeMs() 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