[
https://issues.apache.org/jira/browse/NIFI-13595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869427#comment-17869427
]
Paul Grey commented on NIFI-13595:
----------------------------------
https://lists.apache.org/thread/krbvm3wd518xhdr3g43d1hgznc13d8fn
> 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
> Priority: Minor
>
> 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)