accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [2/3] accumulo git commit: ACCUMULO-4371 Compare objects of the same type in WALSunnyDayIT
Date Mon, 11 Jul 2016 22:05:54 GMT
ACCUMULO-4371 Compare objects of the same type in WALSunnyDayIT

We ended up comparing a String and a Text which always fails


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

Branch: refs/heads/master
Commit: 0e4ac2f4c8939d86b61f5a3c94323c65766a4481
Parents: 24deb39
Author: Josh Elser <elserj@apache.org>
Authored: Mon Jul 11 17:55:54 2016 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Jul 11 17:57:42 2016 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/test/functional/WALSunnyDayIT.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/0e4ac2f4/test/src/main/java/org/apache/accumulo/test/functional/WALSunnyDayIT.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/functional/WALSunnyDayIT.java b/test/src/main/java/org/apache/accumulo/test/functional/WALSunnyDayIT.java
index 434a8f5..bbd2b44 100644
--- a/test/src/main/java/org/apache/accumulo/test/functional/WALSunnyDayIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/functional/WALSunnyDayIT.java
@@ -144,7 +144,7 @@ public class WALSunnyDayIT extends ConfigurableMacBase {
     Map<KeyExtent,List<String>> markers = getRecoveryMarkers(c);
     // log.debug("markers " + markers);
     assertEquals("one tablet should have markers", 1, markers.keySet().size());
-    assertEquals("tableId of the keyExtent should be 1", markers.keySet().iterator().next().getTableId(),
new Text("1"));
+    assertEquals("tableId of the keyExtent should be 1", "1", markers.keySet().iterator().next().getTableId());
 
     // put some data in the WAL
     assertEquals(0, cluster.exec(SetGoalState.class, "NORMAL").waitFor());


Mime
View raw message