GeorgeJahad commented on code in PR #4695:
URL: https://github.com/apache/ozone/pull/4695#discussion_r1190464388


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMDbCheckpointServlet.java:
##########
@@ -214,6 +225,26 @@ public void testDoGet() throws Exception {
         om.getOmAdminGroups(),
         om.isSpnegoEnabled());
 
+    String crNl = "\r\n";
+    String sstFileName = "sstFile.sst";
+    byte[] data = ("--" +  MULTIPART_FORM_DATA_BOUNDARY + crNl +
+        "Content-Disposition: form-data; name=\"" +
+        OZONE_DB_CHECKPOINT_REQUEST_TO_EXCLUDE_SST + "[]\"" + crNl +
+        crNl +
+        sstFileName + crNl +

Review Comment:
   please use 2 sst files.  (Sometimes testing an array of size 1 hides flaws 
in loop code.)



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