GitHub user PuspenduBanerjee opened a pull request:
https://github.com/apache/nifi/pull/225
Fix Nifi-1501 : Test Monitor Activity has spurious failures.
Added test support with adaptive threshold to cater the assumption that
MonitorActivity shouldn't generate inactivity, b/c run() will reset the
lastSuccessfulTransfer.
But that is only true if @OnSchedule & onTrigger does not get called more
than MonitorActivity.THRESHOLD apart.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PuspenduBanerjee/nifi NiFi-1501
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/225.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #225
----
commit 4660ea1ddbee75ff7ad8df9b383f13a08f03b288
Author: [email protected] <[email protected]>
Date: 2016-02-16T08:00:08Z
Fix Nifi-1501 : Test Monitor Activity has spurious failures.
----
---
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.
---