[
https://issues.apache.org/jira/browse/NIFI-9942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527174#comment-17527174
]
ASF subversion and git services commented on NIFI-9942:
-------------------------------------------------------
Commit 1e345db64962c024ce91cc1717d444630b125347 in nifi's branch
refs/heads/dependabot/maven/nifi-nar-bundles/nifi-standard-services/nifi-hbase_1_1_2-client-service-bundle/org.apache.hadoop-hadoop-common-3.2.3
from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1e345db649 ]
NIFI-9942 Removed load test from TestPutUDP
- Refactored TestPutUDP using JUnit 5
- Standardized test method naming
This closes #5984
Signed-off-by: Paul Grey <[email protected]>
> Remove Load Test method from TestPutUDP
> ---------------------------------------
>
> Key: NIFI-9942
> URL: https://issues.apache.org/jira/browse/NIFI-9942
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions, Tools and Build
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Trivial
> Fix For: 1.17.0, 1.16.1
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The {{TestPutUDP}} class includes a method that tests sending 500 messages,
> requiring 500 invocations of the {{PutUDP}} processor. This kind of test is
> not optimal for automated builds, and can be subject to intermittent
> failures, so it should be removed.
> {noformat}
> Error: Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 31.211 s <<< FAILURE! - in org.apache.nifi.processors.standard.TestPutUDP
> Error: org.apache.nifi.processors.standard.TestPutUDP.testLoadTest Time
> elapsed: 30.107 s <<< ERROR!
> org.junit.runners.model.TestTimedOutException: test timed out after 30000
> milliseconds
> at
> app//org.apache.nifi.processors.standard.TestPutUDP.checkReceivedAllData(TestPutUDP.java:229)
> at
> app//org.apache.nifi.processors.standard.TestPutUDP.testLoadTest(TestPutUDP.java:173)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)