@Test
  public void testPartialResultsAndBatch() throws Exception {
    for (int batch = 1; batch <= NUM_COLS / 4; batch++) {
      for (int cellsPerPartial = 1; cellsPerPartial <= NUM_COLS / 4; cellsPerPartial++) {
        testPartialResultsAndBatch(batch, cellsPerPartial);
      }
    }
  }
Test various combinations of batching and partial results for correctness
hbase-server/src/test/java/org/apache/hadoop/hbase/TestPartialResultsFromClientSide.java