accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjno...@apache.org
Subject [4/4] git commit: ACCUMULO-1751 Fixing off by one error. ACCUMULO-1730 Missing ) in test
Date Tue, 15 Oct 2013 21:07:22 GMT
ACCUMULO-1751 Fixing off by one error.
ACCUMULO-1730 Missing ) in test


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

Branch: refs/heads/master
Commit: 611463972a52feab96156012c4a9d75c8df3d882
Parents: d399fc2
Author: Corey J. Nolet <cjnolet@gmail.com>
Authored: Tue Oct 15 17:04:54 2013 -0400
Committer: Corey J. Nolet <cjnolet@gmail.com>
Committed: Tue Oct 15 17:04:54 2013 -0400

----------------------------------------------------------------------
 .../org/apache/accumulo/core/security/ColumnVisibilityTest.java    | 2 +-
 .../org/apache/accumulo/test/functional/AccumuloInputFormatIT.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/61146397/core/src/test/java/org/apache/accumulo/core/security/ColumnVisibilityTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/accumulo/core/security/ColumnVisibilityTest.java
b/core/src/test/java/org/apache/accumulo/core/security/ColumnVisibilityTest.java
index b5f08a2..c963688 100644
--- a/core/src/test/java/org/apache/accumulo/core/security/ColumnVisibilityTest.java
+++ b/core/src/test/java/org/apache/accumulo/core/security/ColumnVisibilityTest.java
@@ -151,7 +151,7 @@ public class ColumnVisibilityTest {
 
   @Test
   public void testParseTree() {
-    Node node = parse("(W)|(U&V)";
+    Node node = parse("(W)|(U&V)");
     assertNode(node, NodeType.OR, 3, 4);
     assertNode(node.getChildren().get(0), NodeType.TERM, 1, 2);
     assertNode(node.getChildren().get(1), NodeType.AND, 6, 7);

http://git-wip-us.apache.org/repos/asf/accumulo/blob/61146397/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
b/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
index bfb7b86..b4258c5 100644
--- a/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
@@ -56,7 +56,7 @@ public class AccumuloInputFormatIT extends SimpleMacIT {
     Collection<Text> actualSplits = getConnector().tableOperations().listSplits(table);
 
     List<InputSplit> splits = inputFormat.getSplits(job);
-    assertEquals(actualSplits.size(), splits.size());
+    assertEquals(actualSplits.size()+1, splits.size());
 
   }
 


Mime
View raw message