You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bi...@apache.org on 2011/12/05 20:40:32 UTC

svn commit: r1210591 - /incubator/accumulo/branches/1.4/src/core/src/test/java/org/apache/accumulo/core/client/admin/TableOperationsHelperTest.java

Author: billie
Date: Mon Dec  5 19:40:32 2011
New Revision: 1210591

URL: http://svn.apache.org/viewvc?rev=1210591&view=rev
Log:
ACCUMULO-200 added test for options conflict

Modified:
    incubator/accumulo/branches/1.4/src/core/src/test/java/org/apache/accumulo/core/client/admin/TableOperationsHelperTest.java

Modified: incubator/accumulo/branches/1.4/src/core/src/test/java/org/apache/accumulo/core/client/admin/TableOperationsHelperTest.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/core/src/test/java/org/apache/accumulo/core/client/admin/TableOperationsHelperTest.java?rev=1210591&r1=1210590&r2=1210591&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/core/src/test/java/org/apache/accumulo/core/client/admin/TableOperationsHelperTest.java (original)
+++ incubator/accumulo/branches/1.4/src/core/src/test/java/org/apache/accumulo/core/client/admin/TableOperationsHelperTest.java Mon Dec  5 19:40:32 2011
@@ -252,7 +252,12 @@ public class TableOperationsHelperTest {
       Assert.fail();
     } catch (IllegalArgumentException e) {}
     setting.setPriority(10);
+    t.setProperty("table", "table.iterator.minc.thirdName.opt.key", "value");
+    try {
+      t.attachIterator("table", setting);
+      Assert.fail();
+    } catch (IllegalArgumentException e) {}
+    t.removeProperty("table", "table.iterator.minc.thirdName.opt.key");
     t.attachIterator("table", setting);
   }
-  
 }