yanxinyi commented on a change in pull request #518: PHOENIX-4285 Add 
PHERF.LOG_PER_NROWS constraint to PHERF.properties file
URL: https://github.com/apache/phoenix/pull/518#discussion_r296948152
 
 

 ##########
 File path: phoenix-pherf/src/test/java/org/apache/phoenix/pherf/PherfTest.java
 ##########
 @@ -40,4 +44,48 @@ public void testUnknownOption() {
         exit.expectSystemExitWithStatus(1);
         Pherf.main(args);
     }
+
+    @Test
+    public void testDefaultLogPerNRowsArgument() throws Exception {
+        String[] args = {"-listFiles"};
+        Pherf pherf = new Pherf(args);
+        Properties prop = pherf.getProperties();
+        assertEquals(Long.valueOf(PherfConstants.LOG_PER_NROWS),
 
 Review comment:
   Will change `LOG_PER_N_ROWS` to `LOG_PER_NROWS_NAME`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to