diff --git a/test/long/org/apache/cassandra/db/commitlog/CommitLogStressTest.java b/test/long/org/apache/cassandra/db/commitlog/CommitLogStressTest.java index d8909a0e9b..e2c6e33789 100644 --- a/test/long/org/apache/cassandra/db/commitlog/CommitLogStressTest.java +++ b/test/long/org/apache/cassandra/db/commitlog/CommitLogStressTest.java @@ -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;