()
| 150 | } |
| 151 | |
| 152 | @Test |
| 153 | public void getGlobalAnnotations() throws Exception { |
| 154 | setupStorage(false); |
| 155 | List<Annotation> notes = Annotation.getGlobalAnnotations(tsdb, 1328140000, |
| 156 | 1328141000).joinUninterruptibly(); |
| 157 | assertNotNull(notes); |
| 158 | assertEquals(2, notes.size()); |
| 159 | Annotation note0 = notes.get(0); |
| 160 | Annotation note1 = notes.get(1); |
| 161 | assertEquals("Description", note0.getDescription()); |
| 162 | assertEquals("Global 2", note1.getDescription()); |
| 163 | } |
| 164 | |
| 165 | @Test |
| 166 | public void getGlobalAnnotationsSalted() throws Exception { |
nothing calls this directly
no test coverage detected