accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [1/9] accumulo git commit: ACCUMULO-4685 Fix bug in FileRefTest
Date Mon, 24 Jul 2017 21:26:36 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.7 818e56bb5 -> f78a5d96b
  refs/heads/1.8 6c21a8f0a -> 0f061b99c
  refs/heads/master 867c2de35 -> cbce8101b


ACCUMULO-4685 Fix bug in FileRefTest

Fix bug in test because of retrieval from collection of wrong type.


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

Branch: refs/heads/1.7
Commit: f78a5d96b29b43d0d50e6ca1fef632a6ed43f4ae
Parents: 818e56b
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Mon Jul 24 16:24:09 2017 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Mon Jul 24 16:24:09 2017 -0400

----------------------------------------------------------------------
 .../src/test/java/org/apache/accumulo/server/fs/FileRefTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/f78a5d96/server/base/src/test/java/org/apache/accumulo/server/fs/FileRefTest.java
----------------------------------------------------------------------
diff --git a/server/base/src/test/java/org/apache/accumulo/server/fs/FileRefTest.java b/server/base/src/test/java/org/apache/accumulo/server/fs/FileRefTest.java
index 14ca20c..646a985 100644
--- a/server/base/src/test/java/org/apache/accumulo/server/fs/FileRefTest.java
+++ b/server/base/src/test/java/org/apache/accumulo/server/fs/FileRefTest.java
@@ -64,7 +64,7 @@ public class FileRefTest {
     refMap.put(new FileRef("hdfs://1.2.3.4/accumulo/tables/2a/t-0003/C0004.rf"), "7");
     refMap.put(new FileRef("hdfs://nn1/accumulo/tables/2a/t-0003/C0005.rf"), "8");
 
-    Assert.assertNull(refMap.get("hdfs://1.2.3.4/accumulo/tables/2a/t-0003/C0006.rf"));
+    Assert.assertNull(refMap.get(new FileRef("hdfs://1.2.3.4/accumulo/tables/2a/t-0003/C0006.rf")));
 
     Assert.assertEquals(refMap.get(new FileRef("hdfs://1.2.3.4/accumulo/tables/2a/t-0003/C0004.rf")),
"7");
     Assert.assertEquals(refMap.get(new FileRef("hdfs://nn1/accumulo/tables/2a/t-0003/C0004.rf")),
"7");


Mime
View raw message