Attila Doroszlai created HDDS-4576:
--------------------------------------

             Summary: 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


{{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 {{String chars}} is not for character encoding, rather 
the set of characters to generate the random string from.  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