}
@Test
public void runTest() throws Exception {
foQueue = new FanOutQueueImpl(testDir, "load_test_one");
System.out.println("Load test begin ...");
for(int i = 0; i < loop; i++) {
System.out.println("[doRunProduceThenConsume] round " + (i + 1) + " of " + loop);
this.doRunProduceThenConsume();
// reset
foQueue.removeAll();
}
foQueue.close();
foQueue = new FanOutQueueImpl(testDir, "load_test_two");
for(int i = 0; i < loop; i++) {
System.out.println("[doRunMixed] round " + (i + 1) + " of " + loop);
this.doRunMixed();