()
| 457 | } |
| 458 | |
| 459 | @Test |
| 460 | public void fetchCollisionsSingle() throws Exception { |
| 461 | setupStorage(true, true); |
| 462 | final ArrayList<String> tsuids = new ArrayList<String>(1); |
| 463 | tsuids.add("020202"); |
| 464 | Map<String, String> collisions = |
| 465 | Tree.fetchCollisions(storage.getTSDB(), 1, tsuids).joinUninterruptibly(); |
| 466 | assertNotNull(collisions); |
| 467 | assertEquals(1, collisions.size()); |
| 468 | assertTrue(collisions.containsKey("020202")); |
| 469 | } |
| 470 | |
| 471 | @Test |
| 472 | public void fetchCollisionsSingleNotFound() throws Exception { |
nothing calls this directly
no test coverage detected