[ 
https://issues.apache.org/jira/browse/NIFI-13595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-13595:
------------------------------------
    Status: Patch Available  (was: In Progress)

> 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: 10m
>  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