()
| 258 | } |
| 259 | |
| 260 | @Test |
| 261 | public void flushCollisionsDisabled() throws Exception { |
| 262 | setupStorage(true, true); |
| 263 | final Tree tree = buildTestTree(); |
| 264 | tree.addCollision("010203", "AABBCCDD"); |
| 265 | assertNotNull(tree.flushCollisions(storage.getTSDB()) |
| 266 | .joinUninterruptibly()); |
| 267 | assertEquals(4, storage.numRows(TREE_TABLE)); |
| 268 | assertEquals(2, storage.numColumns(TREE_TABLE, new byte[] { 0, 1, 1 })); |
| 269 | } |
| 270 | |
| 271 | @Test |
| 272 | public void flushCollisionsWCollisionExisting() throws Exception { |
nothing calls this directly
no test coverage detected