()
| 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 { |
nothing calls this directly
no test coverage detected