You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/01/29 21:36:45 UTC

[03/12] git commit: ACCUMULO-2275 Fix up the options provided to work with TestIngest.

ACCUMULO-2275 Fix up the options provided to work with TestIngest.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/265a99b8
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/265a99b8
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/265a99b8

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: 265a99b8e23e3a18fdc28dfdb46f02bc0f6a6849
Parents: cabdbe8
Author: Josh Elser <el...@apache.org>
Authored: Wed Jan 29 13:36:09 2014 -0500
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jan 29 15:24:57 2014 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/test/functional/FateStarvationTest.java | 5 +++--
 .../java/org/apache/accumulo/test/functional/MaxOpenTest.java   | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/265a99b8/test/src/main/java/org/apache/accumulo/test/functional/FateStarvationTest.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/functional/FateStarvationTest.java b/test/src/main/java/org/apache/accumulo/test/functional/FateStarvationTest.java
index 01cf658..f88c74d 100644
--- a/test/src/main/java/org/apache/accumulo/test/functional/FateStarvationTest.java
+++ b/test/src/main/java/org/apache/accumulo/test/functional/FateStarvationTest.java
@@ -50,8 +50,9 @@ public class FateStarvationTest extends FunctionalTest {
     
     getConnector().tableOperations().addSplits("test_ingest", TestIngest.getSplitPoints(0, 100000, 50));
     
-    TestIngest.main(new String[] {"-random", "89", "-timestamp", "7", "-size", "" + 50, "100000", "0", "1"});
-    
+    TestIngest.main(new String[] {"-u", "root", "-p", "secret", "--random", "89", "--timestamp", "7", "--size", "" + 50, "--rows", "100000", "--start", "0",
+        "--cols", "1"});
+
     getConnector().tableOperations().flush("test_ingest", null, null, true);
     
     List<Text> splits = new ArrayList<Text>(TestIngest.getSplitPoints(0, 100000, 67));

http://git-wip-us.apache.org/repos/asf/accumulo/blob/265a99b8/test/src/main/java/org/apache/accumulo/test/functional/MaxOpenTest.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/functional/MaxOpenTest.java b/test/src/main/java/org/apache/accumulo/test/functional/MaxOpenTest.java
index 6dea01c..c256cce 100644
--- a/test/src/main/java/org/apache/accumulo/test/functional/MaxOpenTest.java
+++ b/test/src/main/java/org/apache/accumulo/test/functional/MaxOpenTest.java
@@ -63,7 +63,7 @@ public class MaxOpenTest extends FunctionalTest {
     // the following loop should create three tablets in each map file
     for (int i = 0; i < 3; i++) {
       
-      TestIngest.main(new String[] {"-random", "" + i, "-timestamp", "" + i, "-size", "" + 50, "" + NUM_TO_INGEST, "0", "1"});
+      TestIngest.main(new String[] {"-u", "root", "-p", "secret", "--random", "" + i, "--timestamp", "" + i, "--size", "" + 50, "--rows", "" + NUM_TO_INGEST, "--start", "0", "--cols", "1"});
       
       getConnector().tableOperations().flush("test_ingest", null, null, true);
       checkRFiles("test_ingest", NUM_TABLETS, NUM_TABLETS, i + 1, i + 1);