DomGarguilo commented on a change in pull request #2240:
URL: https://github.com/apache/accumulo/pull/2240#discussion_r695046040
##########
File path:
test/src/main/java/org/apache/accumulo/test/functional/CompactionIT.java
##########
@@ -159,6 +165,77 @@ public void testBadSelector() throws Exception {
}
}
+ @Test
+ public void testDeleteTableAbortsCompaction() throws Exception {
+ try (AccumuloClient c =
Accumulo.newClient().from(getClientProps()).build()) {
+ final String tableName = getUniqueNames(1)[0];
+ c.tableOperations().create(tableName);
+ c.tableOperations().setProperty(tableName,
Property.TABLE_MAJC_RATIO.getKey(), "5.0");
Review comment:
```suggestion
var ntc = new NewTableConfiguration()
.setProperties(Map.of(Property.TABLE_MAJC_RATIO.getKey(), "5.0"));
c.tableOperations().create(tableName, ntc);
```
Could use `NewTableConfiguration` 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]