keith-turner commented on a change in pull request #1614:
URL: https://github.com/apache/accumulo/pull/1614#discussion_r428065874
##########
File path: test/src/main/java/org/apache/accumulo/test/functional/BulkNewIT.java
##########
@@ -183,6 +184,23 @@ public void testSingleTabletSingleFileOffline() throws
Exception {
}
}
+ @Test
+ public void testMaxTablets() throws Exception {
+ String maxTablets = "0";
+ try (AccumuloClient client =
Accumulo.newClient().from(getClientProps()).build()) {
+ maxTablets = client.instanceOperations().getSystemConfiguration()
+ .get(Property.MASTER_BULK_MAX_TABLETS.getKey());
+
client.instanceOperations().setProperty(Property.MASTER_BULK_MAX_TABLETS.getKey(),
"1");
Review comment:
If it were a table prop, then table could be created with the prop and
would not need to clear in finally.
----------------------------------------------------------------
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]