()
| 246 | } |
| 247 | |
| 248 | @Test |
| 249 | public void flushCollisions() throws Exception { |
| 250 | setupStorage(true, true); |
| 251 | final Tree tree = buildTestTree(); |
| 252 | tree.setStoreFailures(true); |
| 253 | tree.addCollision("010203", "AABBCCDD"); |
| 254 | assertNotNull(tree.flushCollisions(storage.getTSDB()) |
| 255 | .joinUninterruptibly()); |
| 256 | assertEquals(4, storage.numRows(TREE_TABLE)); |
| 257 | assertEquals(3, storage.numColumns(TREE_TABLE, new byte[] { 0, 1, 1 })); |
| 258 | } |
| 259 | |
| 260 | @Test |
| 261 | public void flushCollisionsDisabled() throws Exception { |
nothing calls this directly
no test coverage detected