Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9E98A200B4F for ; Tue, 12 Jul 2016 00:05:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9D3BB160A86; Mon, 11 Jul 2016 22:05:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EFCED160A78 for ; Tue, 12 Jul 2016 00:05:54 +0200 (CEST) Received: (qmail 2643 invoked by uid 500); 11 Jul 2016 22:05:54 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 2628 invoked by uid 99); 11 Jul 2016 22:05:54 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2016 22:05:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DD28FDFFF8; Mon, 11 Jul 2016 22:05:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: elserj@apache.org To: commits@accumulo.apache.org Date: Mon, 11 Jul 2016 22:05:53 -0000 Message-Id: <37a6da40088f4e3b902bcc9637c577f3@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] accumulo git commit: ACCUMULO-4371 Compare objects of the same type in WALSunnyDayIT archived-at: Mon, 11 Jul 2016 22:05:55 -0000 Repository: accumulo Updated Branches: refs/heads/1.8 24deb3923 -> 0e4ac2f4c refs/heads/master 732bd2fcb -> c50977480 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/1.8 Commit: 0e4ac2f4c8939d86b61f5a3c94323c65766a4481 Parents: 24deb39 Author: Josh Elser Authored: Mon Jul 11 17:55:54 2016 -0400 Committer: Josh Elser 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> 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());