@BeforeClass
public static void setupMiniCluster() throws Exception {
FileUtils.deleteQuietly(macTestFolder);
macTestFolder.mkdirs();
MiniAccumuloConfig config = new MiniAccumuloConfig(macTestFolder, secret).setNumTservers(1);
accumulo = new MiniAccumuloCluster(config);
accumulo.start();
// wait for accumulo to be up and functional
ZooKeeperInstance zoo = new ZooKeeperInstance(accumulo.getInstanceName(), accumulo.getZooKeepers());
Connector c = zoo.getConnector("root", new PasswordToken(secret.getBytes()));
for (@SuppressWarnings("unused") Entry<org.apache.accumulo.core.data.Key,Value> entry : c.createScanner(MetadataTable.NAME, Authorizations.EMPTY))