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/03/11 19:33:51 UTC

git commit: ACCUMULO-2061 Update now invalid assertions in VolumeIT

Repository: accumulo
Updated Branches:
  refs/heads/ACCUMULO-2061 2da21b6a4 -> 243aafa49


ACCUMULO-2061 Update now invalid assertions in VolumeIT


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

Branch: refs/heads/ACCUMULO-2061
Commit: 243aafa494d61c8ad539b6cdef0c688423f4db42
Parents: 2da21b6
Author: Josh Elser <el...@apache.org>
Authored: Tue Mar 11 14:33:15 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Tue Mar 11 14:33:35 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/accumulo/blob/243aafa4/test/src/test/java/org/apache/accumulo/test/VolumeIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/VolumeIT.java b/test/src/test/java/org/apache/accumulo/test/VolumeIT.java
index 7ac34f8..a7f7556 100644
--- a/test/src/test/java/org/apache/accumulo/test/VolumeIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/VolumeIT.java
@@ -294,9 +294,8 @@ public class VolumeIT extends ConfigurableMacIT {
     // check that all volumes are initialized
     for (Path volumePath : Arrays.asList(v1, v2, v3)) {
       FileSystem fs = volumePath.getFileSystem(CachedConfiguration.getInstance());
-      Path vp = new Path(volumePath, "accumulo");
-      Path vpi = new Path(vp, ServerConstants.INSTANCE_ID_DIR);
-      FileStatus[] iids = fs.listStatus(vpi);
+      Path vp = new Path(volumePath, ServerConstants.INSTANCE_ID_DIR);
+      FileStatus[] iids = fs.listStatus(vp);
       Assert.assertEquals(1, iids.length);
       Assert.assertEquals(uuid, iids[0].getPath().getName());
     }