MCPcopy
hub / github.com/OpenTSDB/opentsdb / getLastWriteTimesNoMatch

Method getLastWriteTimesNoMatch

test/meta/TestTSUIDQuery.java:194–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 }
193
194 @Test
195 public void getLastWriteTimesNoMatch() throws Exception {
196 storage.flushStorage();
197 query = new TSUIDQuery(tsdb, METRIC_STRING, tags);
198 final ByteMap<Long> tsuids = query.getLastWriteTimes().joinUninterruptibly();
199 assertTrue(tsuids.isEmpty());
200 }
201
202 @Test (expected = NoSuchUniqueName.class)
203 public void getLastWriteTimesNSUNMetric() throws Exception {

Callers

nothing calls this directly

Calls 3

flushStorageMethod · 0.80
isEmptyMethod · 0.80
getLastWriteTimesMethod · 0.45

Tested by

no test coverage detected