Github user cestella commented on the issue:

    https://github.com/apache/incubator-metron/pull/463
  
    Yeah, I can get behind that, @justinleet I'd state it slightly differently 
though.  It's not that we want to test the Stream so much as we want to test 
that the Spliterator, when interacting with a stream, makes the right number of 
splits.  That was the core problem with `Files.lines()` was that it made one 
split, not many splits.
    
    What we really want to test here is that the spliterator splits the 
expected number of times.  What we have indirectly tests that, but it relies on 
the ForkPool to work in a consistent way, which isn't going to happen.  Anyway, 
I pushed a commit, see how you like it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to