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

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

Commit b0d402d1468065deb3838df15964de4c7090e4f8 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b0d402d146 ]

NIFI-13595 Replaced test method random string with repeated string (#9124)

Signed-off-by: David Handermann <[email protected]>

> refactor unit test PutElasticsearchJsonTest.testLargeInputStringHandling()
> --------------------------------------------------------------------------
>
>                 Key: NIFI-13595
>                 URL: https://issues.apache.org/jira/browse/NIFI-13595
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Paul Grey
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> From "dev" mailing list...
> {quote}So I see the problem line is
> at
> org.apache.nifi.processors.elasticsearch.PutElasticsearchJsonTest.testLargeInputStringHandling(PutElasticsearchJsonTest.java:471)
> and that line has
> final String val = String.format("
> Unknown macro: \{"large"}
> ",
> RandomStringUtils.randomAlphanumeric(10000));
> I am not sure though what is making the process hang.
> {quote}
> This unit test makes use of a utility method in `apache:commons-lang` that 
> seems to hang under some circumstances.
> It should be refactored to use an alternate utility method that avoids the 
> possibility of entropy depletion.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to