folder.delete();
}
@Test
public void test() throws Exception {
ZooKeeperInstance inst = new ZooKeeperInstance(accumulo.getInstanceName(), accumulo.getZooKeepers(), 60 * 1000);
Connector conn = inst.getConnector("root", new PasswordToken(secret));
String table = "foo";
conn.tableOperations().create(table);
final DefaultConfiguration defaultConf = AccumuloConfiguration.getDefaultConfiguration();
// Cache invalidates 25% of the time
int randomMax = 4;
// Number of threads
int numThreads = 2;
// Number of iterations per thread
int iterations = 100000;
AccumuloConfiguration tableConf = new TableConfiguration(inst.getInstanceID(), inst, table, defaultConf);
long start = System.currentTimeMillis();
ExecutorService svc = Executors.newFixedThreadPool(numThreads);
CountDownLatch countDown = new CountDownLatch(numThreads);
ArrayList<Future<Exception>> futures = new ArrayList<Future<Exception>>(numThreads);