[
https://issues.apache.org/jira/browse/NIFI-13888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17890504#comment-17890504
]
ASF subversion and git services commented on NIFI-13888:
--------------------------------------------------------
Commit 784a95c398d74c4aeff131f27943555853e18e7b in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=784a95c398 ]
NIFI-13888 Increased Timeout to 15 seconds in TestEventIndexTask
- Increasing the timeout from 5 seconds to 15 seconds should provide greater
build stability when running multi-thread builds
Signed-off-by: Pierre Villard <[email protected]>
This closes #9409.
> Provenance TestEventIndexTask is Unstable
> -----------------------------------------
>
> Key: NIFI-13888
> URL: https://issues.apache.org/jira/browse/NIFI-13888
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 2.0.0-M4
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The TestEventIndexTask has a test method
> testIndexWriterCommittedWhenAppropriate that often fails in local
> multi-thread builds on Ubuntu Linux. The test method asserts an expected
> completion in 5 seconds. This works in some circumstances, but often fails by
> a second or two on multi-threaded Maven builds due to resource contention.
> Increasing the timeout value to be more lenient should provide greater
> stability.
> {noformat}
> [ERROR] Failures:
> [ERROR] TestEventIndexTask.testIndexWriterCommittedWhenAppropriate:47
> execution exceeded timeout of 5000 ms by 1791 ms
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)