Github user olegz commented on the pull request:

    https://github.com/apache/nifi/pull/324#issuecomment-221925828
  
    "...how come the that issue wouldn't cause all following tests to fail..." 
some times it does. You may want to consult with Mark on that since that error 
originates from FC. Basically I think FC was designed to be singleton within 
VM, so when you have multiple instances (as in tests), things may happen.
    
    Actually as you can see _coundDownCounter_ is decremented inside the task, 
so until the task is executed (some time in the future), the counter is not 
decremented. So this pattern essentially guarantees that when counter is down 
to 0, all threads have finished. 


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