tanvipenumudy commented on code in PR #7550:
URL: https://github.com/apache/ozone/pull/7550#discussion_r2122965124


##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/key/TestOMAllocateBlockRequest.java:
##########
@@ -36,22 +39,29 @@
 import 
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.AllocateBlockRequest;
 import 
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.KeyArgs;
 import 
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMRequest;
-import org.junit.jupiter.api.Test;
+import org.junit.jupiter.params.ParameterizedTest;
+import org.junit.jupiter.params.provider.MethodSource;
 
 /**
  * Tests OMAllocateBlockRequest class.
  */
 public class TestOMAllocateBlockRequest extends TestOMKeyRequest {
 
-  @Test
-  public void testPreExecute() throws Exception {
+  public static Collection<Object[]> cacheEnabledValues() {
+    return Arrays.asList(new Object[][] {
+        {true},
+        {false}
+    });
+  }
 

Review Comment:
   Thank you, committed the suggestion!



-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to