DomGarguilo commented on code in PR #87: URL: https://github.com/apache/accumulo-proxy/pull/87#discussion_r2293978679
########## src/test/java/org/apache/accumulo/proxy/its/SimpleProxyBase.java: ########## @@ -2315,6 +2319,77 @@ public void testCompactionSelector() throws Exception { assertEquals(1, countFiles(tableNames[1]), messagePrefix + tableNames[2]); } + /** + * Retrieves the collective size of all the files in a table. + */ + private long getFileSizes(ServerContext ctx, String tableName) { + TableId tableId = TableId.of(ctx.tableOperations().tableIdMap().get(tableName)); + var tabletsMetadata = ctx.getAmple().readTablets().forTable(tableId).build(); Review Comment: This `TabletsMetadata` object could be added to a try-with-resources block. It is not being closed currently. -- 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: notifications-unsubscr...@accumulo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org