ninja-remove commented out code, missed on commit for CASSANDRA-13530

This commit is contained in:
Jason Brown 2017-12-01 14:15:03 -08:00
parent f3f90c1896
commit f58072142c
1 changed files with 0 additions and 49 deletions

View File

@ -88,55 +88,6 @@ public abstract class CommitLogStressTest
return hash;
}
// TODO:JEB resolve this
// public static void main(String[] args) throws Exception
// {
// try
// {
// if (args.length >= 1)
// {
// NUM_THREADS = Integer.parseInt(args[0]);
// System.out.println("Setting num threads to: " + NUM_THREADS);
// }
//
// if (args.length >= 2)
// {
// numCells = Integer.parseInt(args[1]);
// System.out.println("Setting num cells to: " + numCells);
// }
//
// if (args.length >= 3)
// {
// cellSize = Integer.parseInt(args[1]);
// System.out.println("Setting cell size to: " + cellSize + " be aware the source corpus may be small");
// }
//
// if (args.length >= 4)
// {
// rateLimit = Integer.parseInt(args[1]);
// System.out.println("Setting per thread rate limit to: " + rateLimit);
// }
// initialize();
//
// for (Object[] params : buildParameterizedVariants())
// {
// ParameterizedClass commitLogCompression = (ParameterizedClass) params[0];
// EncryptionContext encryptionContext = (EncryptionContext) params[1];
// CommitLogStressTest tester = new CommitLogStressTest(commitLogCompression, encryptionContext);
// tester.cleanDir();
// tester.testFixedSize();
// }
// }
// catch (Throwable e)
// {
// e.printStackTrace(System.err);
// }
// finally
// {
// System.exit(0);
// }
// }
private boolean failed = false;
private volatile boolean stop = false;
private boolean randomSize = false;