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

ASF GitHub Bot updated HDDS-4576:
---------------------------------
    Labels: pull-request-available  (was: )

> TestDefaultCertificateClient misuses chars param of random()
> ------------------------------------------------------------
>
>                 Key: HDDS-4576
>                 URL: https://issues.apache.org/jira/browse/HDDS-4576
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: test
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Minor
>              Labels: pull-request-available
>
> {{TestDefaultCertificateClient}} passes "UTF-8" to 
> {{RandomStringUtils.random(int, String)}} with the intention to use UTF-8 
> encoding.  It was added in HDDS-1087 to fix (intermittent?) failure in CI.
> However, the parameter is not for character encoding, rather:
> {code}
>      * @param chars  the String containing the set of characters to use,
>      *  may be null, but must not be empty
> {code}
> So this results in values like: {{"--8F8T8U8T..."}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to