dlmarion commented on code in PR #2665:
URL: https://github.com/apache/accumulo/pull/2665#discussion_r939160177


##########
test/src/main/java/org/apache/accumulo/test/metrics/MetricsIT.java:
##########
@@ -142,6 +143,9 @@ private void doWorkToGenerateMetrics() throws Exception {
         writer.addMutation(m);
       }
       client.tableOperations().compact(tableName, new CompactionConfig());
+      try (Scanner scanner = client.createScanner(tableName)) {
+        scanner.forEach((k, v) -> {});
+      }

Review Comment:
   This method is just performing work to generate metrics. It creates a table, 
inserts some data, compacts the table, performs a scan, delete the table, etc. 
The test method that calls this method verifies that the metrics we expect to 
see based on the activity that is performed are seen. I don't think there is 
anything to do here.



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

Reply via email to