hemantk-12 commented on code in PR #4678:
URL: https://github.com/apache/ozone/pull/4678#discussion_r1203243648


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOmSnapshot.java:
##########
@@ -115,6 +116,8 @@ public class TestOmSnapshot {
 
   private static OzoneBucket ozoneBucket;
 
+  private static AtomicInteger counter;

Review Comment:
   Don't have any objection in using `AtomicInteger` if remove the flakiness.
   
   FYI: `count` passed in `RandomStringUtils.randomNumeric()` or 
`RandomStringUtils.randomAlphanumeric()` create string of length `count` 
(contains`count` chars) not in the range of 0-count. Which means when you pass 
5 to `RandomStringUtils`, there are 100K combinations.



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