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

Method flushNotMatched

test/tree/TestTree.java:282–292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 }
281
282 @Test
283 public void flushNotMatched() throws Exception {
284 setupStorage(true, true);
285 final Tree tree = buildTestTree();
286 tree.setStoreFailures(true);
287 tree.addNotMatched("010203", "Failed rule 2:2");
288 assertNotNull(tree.flushNotMatched(storage.getTSDB())
289 .joinUninterruptibly());
290 assertEquals(4, storage.numRows(TREE_TABLE));
291 assertEquals(3, storage.numColumns(TREE_TABLE, new byte[] { 0, 1, 2 }));
292 }
293
294 @Test
295 public void flushNotMatchedDisabled() throws Exception {

Callers

nothing calls this directly

Calls 8

setupStorageMethod · 0.95
buildTestTreeMethod · 0.95
setStoreFailuresMethod · 0.95
addNotMatchedMethod · 0.95
flushNotMatchedMethod · 0.95
getTSDBMethod · 0.80
numRowsMethod · 0.80
numColumnsMethod · 0.80

Tested by

no test coverage detected