adoroszlai commented on code in PR #8108:
URL: https://github.com/apache/ozone/pull/8108#discussion_r2002837564


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/OzoneRpcClientTests.java:
##########
@@ -1683,8 +1696,9 @@ private void bucketQuotaTestHelper(int keyLength, 
ReplicationConfig repConfig)
   }
 
   @ParameterizedTest
-  @MethodSource("bucketLayouts")
-  public void testBucketUsedNamespace(BucketLayout layout) throws IOException {
+  @MethodSource("bucketLayoutsWithEnablePaths")
+  public void testBucketUsedNamespace(BucketLayout layout, boolean 
enablePaths) throws IOException {
+    cluster.getConf().setBoolean(OmConfig.Keys.ENABLE_FILESYSTEM_PATHS, 
enablePaths);

Review Comment:
   OM takes this setting from `OmConfig`.
   
   ```suggestion
       
cluster.getOzoneManager().getConfig().setFileSystemPathEnabled(enablePaths);
   ```
   
   (Use something like the original one when backporting.)
   
   Probably would also make sense to restore the original setting in the 
`finally` block.



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