Repository: cassandra Updated Branches: refs/heads/trunk f3f90c189 -> f58072142
ninja-remove commented out code, missed on commit for CASSANDRA-13530 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f5807214 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f5807214 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f5807214 Branch: refs/heads/trunk Commit: f58072142c0ed1551fafcff10cf9bc0e0bf69879 Parents: f3f90c1 Author: Jason Brown <jasedbr...@gmail.com> Authored: Fri Dec 1 14:15:03 2017 -0800 Committer: Jason Brown <jasedbr...@gmail.com> Committed: Fri Dec 1 14:15:03 2017 -0800 ---------------------------------------------------------------------- .../db/commitlog/CommitLogStressTest.java | 49 -------------------- 1 file changed, 49 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/f5807214/test/long/org/apache/cassandra/db/commitlog/CommitLogStressTest.java ---------------------------------------------------------------------- diff --git a/test/long/org/apache/cassandra/db/commitlog/CommitLogStressTest.java b/test/long/org/apache/cassandra/db/commitlog/CommitLogStressTest.java index d8909a0..e2c6e33 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; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org