sarvekshayr commented on code in PR #10773:
URL: https://github.com/apache/ozone/pull/10773#discussion_r3585320757
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithAllRunning.java:
##########
@@ -251,8 +252,8 @@ public void testAllVolumeOperations() throws Exception {
@Test
public void testAllBucketOperations() throws Exception {
- String volumeName = "volume" + RandomStringUtils.secure().nextNumeric(5);
- String bucketName = "volume" + RandomStringUtils.secure().nextNumeric(5);
+ String volumeName = uniqueObjectName("volume");
+ String bucketName = uniqueObjectName("volume");
Review Comment:
Incorrect bucket prefix -
```suggestion
String bucketName = uniqueObjectName("bucket");
```
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAFollowerReadWithAllRunning.java:
##########
@@ -435,8 +436,8 @@ public void testAllVolumeOperations() throws Exception {
@Test
public void testAllBucketOperations() throws Exception {
- String volumeName = "volume" + RandomStringUtils.secure().nextNumeric(5);
- String bucketName = "volume" + RandomStringUtils.secure().nextNumeric(5);
+ String volumeName = uniqueObjectName("volume");
+ String bucketName = uniqueObjectName("volume");
Review Comment:
Incorrect bucket prefix -
```suggestion
String bucketName = uniqueObjectName("bucket");
```
--
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]