()
| 269 | } |
| 270 | |
| 271 | @Test |
| 272 | public void flushCollisionsWCollisionExisting() throws Exception { |
| 273 | setupStorage(true, true); |
| 274 | final Tree tree = buildTestTree(); |
| 275 | tree.addCollision("010101", "AAAAAA"); |
| 276 | assertNotNull(tree.flushCollisions(storage.getTSDB()) |
| 277 | .joinUninterruptibly()); |
| 278 | assertEquals(4, storage.numRows(TREE_TABLE)); |
| 279 | assertEquals(2, storage.numColumns(TREE_TABLE, new byte[] { 0, 1, 1 })); |
| 280 | } |
| 281 | |
| 282 | @Test |
| 283 | public void flushNotMatched() throws Exception { |
nothing calls this directly
no test coverage detected