yandrey321 commented on code in PR #12210:
URL: https://github.com/apache/ozone/pull/12210#discussion_r4747993077


##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/signature/TestStringToSignProducer.java:
##########
@@ -58,6 +58,17 @@ public class TestStringToSignProducer {
   private static final String DATETIME = StringToSignProducer.TIME_FORMATTER.
           format(LocalDateTime.now(ZoneOffset.UTC));
 
+  @Test
+  public void testHash() throws Exception {
+    String first = StringToSignProducer.hash("abc");

Review Comment:
   test should spawn 3 threads and do sha calculation inside spawned threads.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to