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 2015/05/10 23:06:03 UTC

[17/19] accumulo git commit: ACCUMULO-3423 Fix missing method due to revert

ACCUMULO-3423 Fix missing method due to revert


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

Branch: refs/heads/master
Commit: 2cde56226640a517cf1babb046076d237b593fb7
Parents: 36ca257
Author: Josh Elser <el...@apache.org>
Authored: Sat May 9 19:51:44 2015 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Sat May 9 19:51:44 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/test/NoMutationRecoveryIT.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/2cde5622/test/src/test/java/org/apache/accumulo/test/NoMutationRecoveryIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/NoMutationRecoveryIT.java b/test/src/test/java/org/apache/accumulo/test/NoMutationRecoveryIT.java
index 6a9975c..8b315d6 100644
--- a/test/src/test/java/org/apache/accumulo/test/NoMutationRecoveryIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/NoMutationRecoveryIT.java
@@ -40,7 +40,6 @@ import org.apache.accumulo.core.security.TablePermission;
 import org.apache.accumulo.harness.AccumuloClusterIT;
 import org.apache.accumulo.minicluster.ServerType;
 import org.apache.accumulo.minicluster.impl.MiniAccumuloConfigImpl;
-import org.apache.accumulo.test.functional.FunctionalTestUtils;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.RawLocalFileSystem;
 import org.apache.hadoop.io.Text;
@@ -50,6 +49,8 @@ import org.junit.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import com.google.common.collect.Iterables;
+
 // Verify that a recovery of a log without any mutations removes the log reference
 public class NoMutationRecoveryIT extends AccumuloClusterIT {
   private static final Logger log = LoggerFactory.getLogger(NoMutationRecoveryIT.class);
@@ -111,7 +112,7 @@ public class NoMutationRecoveryIT extends AccumuloClusterIT {
 
     Range range = Range.prefix(tableId);
     log.info("Fetching WAL references over " + table);
-    assertEquals("should not have any refs", 0, FunctionalTestUtils.count(getLogRefs(conn, MetadataTable.NAME, range)));
+    assertEquals("should not have any refs", 0, Iterables.size(getLogRefs(conn, MetadataTable.NAME, range)));
 
     // Grant permission to the admin user to write to the Metadata table
     conn.securityOperations().grantTablePermission(conn.whoami(), MetadataTable.NAME, TablePermission.WRITE);