[ 
https://issues.apache.org/jira/browse/NIFI-9942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525770#comment-17525770
 ] 

ASF subversion and git services commented on NIFI-9942:
-------------------------------------------------------

Commit 6596d05144a27d9db07c26365d414fc1675b7d44 in nifi's branch 
refs/heads/support/nifi-1.16 from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6596d05144 ]

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

Reply via email to