[
https://issues.apache.org/jira/browse/NIFI-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299335#comment-15299335
]
ASF GitHub Bot commented on NIFI-1918:
--------------------------------------
GitHub user alopresto opened a pull request:
https://github.com/apache/nifi/pull/465
NIFI-1918 Ignored failing test because timing is not deterministic an…
…d should not be used in unit test.
I did not delete the test because it is still illustrative in most cases of
the relative differences in execution time, but in some scenarios
(thread-starved hardware?) the serial execution can finish faster than pooled.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alopresto/nifi NIFI-1918
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/465.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 #465
----
commit 402ef3fa0fe21b318c7a9c423b2d8b016ddf58ab
Author: Andy LoPresto <[email protected]>
Date: 2016-05-25T02:28:37Z
NIFI-1918 Ignored failing test because timing is not deterministic and
should not be used in unit test.
----
> ExecuteScript unit test fails intermittently
> --------------------------------------------
>
> Key: NIFI-1918
> URL: https://issues.apache.org/jira/browse/NIFI-1918
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.0.0, 0.7.0
> Reporter: Andy LoPresto
> Assignee: Andy LoPresto
> Priority: Minor
> Labels: performance, test
> Fix For: 1.0.0, 0.7.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The test comparing execution times of the serial vs. pooled {{ExecuteScript}}
> engines intermittently fails when the time for the serial execution is less
> than the pooled execution for reasons unknown (potentially a lack of
> available threads).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)