Github user cestella commented on the issue:

    https://github.com/apache/incubator-metron/pull/463
  
    @mmiklavc The stream can consider itself parallel without it actually 
functioning in parallel.  If we have one big split, only one thread will be 
used in the threadpool, so it'll be de facto serial.  Also, we don't actually 
implement Stream, we *construct* a stream from a Spliterator.
    
    The issue that @justinleet alluded to was that we were testing 
`Spliterator` indirectly by testing `Stream`s in a threadpool.  If we just did 
the direct test, we'd narrow the scope and remove the variability as well.  If 
we are, then we should be able to trust `Stream.parallel()` to do the right 
thing rather than testing that.  What we really want to know is are we 
splitting properly. 


---
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