cradal commented on a change in pull request #1651:
URL: https://github.com/apache/accumulo/pull/1651#discussion_r526240853



##########
File path: 
test/src/main/java/org/apache/accumulo/test/functional/MetadataIT.java
##########
@@ -156,4 +171,122 @@ public void batchScanTest() throws Exception {
       }
     }
   }
+
+  @Test
+  public void testAmpleReadTablets() throws Exception {
+
+    try (AccumuloClient accumuloClient = 
Accumulo.newClient().from(getClientProps()).build()) {
+      
accumuloClient.securityOperations().grantTablePermission(accumuloClient.whoami(),
+          MetadataTable.NAME, TablePermission.WRITE);
+      BatchWriter bw =
+          accumuloClient.createBatchWriter(MetadataTable.NAME, new 
BatchWriterConfig());
+      ClientContext cc = (ClientContext) accumuloClient;
+      // Create a fake METADATA table with these splits

Review comment:
       That idea is more economical. I guess an effective test does not always 
need a full-blown client. I will update the test.




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


Reply via email to