You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by vi...@apache.org on 2014/01/30 22:57:56 UTC

[05/10] git commit: ACCUMULO-2260 removing table config copy test

ACCUMULO-2260 removing table config copy test


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

Branch: refs/heads/master
Commit: f0448ffa710ce5e598c204002eabf3a91210d8e8
Parents: b80e1a4
Author: John Vines <vi...@apache.org>
Authored: Thu Jan 30 14:29:05 2014 -0500
Committer: John Vines <vi...@apache.org>
Committed: Thu Jan 30 15:03:55 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/test/ShellServerIT.java   | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/f0448ffa/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java b/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
index cc5ce7b..58652c7 100644
--- a/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
@@ -978,21 +978,20 @@ public class ShellServerIT extends SimpleMacIT {
     // can copy properties when creating
     exec("createnamespace thing3 -cc thing2", true);
     exec("config -ns thing3", true, "44444", true);
-    exec("createnamespace thing4 -ctc thing2.thingy", true);
-    exec("config -ns thing4", true, "55555", true);
 
     exec("deletenamespace -f thing2", true);
     exec("namespaces", true, "thing2", false);
     exec("tables", true, "thing2.thingy", false);
 
     // put constraints on a namespace
-    exec("constraint -ns thing4 -a org.apache.accumulo.examples.simple.constraints.NumericValueConstraint", true);
-    exec("createtable thing4.constrained", true);
-    exec("table thing4.constrained", true);
+    exec("constraint -ns thing3 -a org.apache.accumulo.examples.simple.constraints.NumericValueConstraint", true);
+    exec("createtable thing3.constrained", true);
+    exec("table thing3.constrained", true);
+    exec("constraint -d 1");
     // should fail
-    exec("insert r cf cq abc", false);
     exec("constraint -l", true, "NumericValueConstraint", true);
-    exec("constraint -ns thing4 -d 2");
+    exec("insert r cf cq abc", false);
+    exec("constraint -ns thing3 -d 1");
     exec("sleep 1");
     exec("insert r cf cq abc", true);
   }