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 0D52D200CF7 for ; Mon, 24 Jul 2017 23:26:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0C3631655EA; Mon, 24 Jul 2017 21:26:41 +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 3D7AC16559F for ; Mon, 24 Jul 2017 23:26:40 +0200 (CEST) Received: (qmail 92286 invoked by uid 500); 24 Jul 2017 21:26:39 -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 92174 invoked by uid 99); 24 Jul 2017 21:26:38 -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, 24 Jul 2017 21:26:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3D58AF2178; Mon, 24 Jul 2017 21:26:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ctubbsii@apache.org To: commits@accumulo.apache.org Date: Mon, 24 Jul 2017 21:26:37 -0000 Message-Id: <81c9ea35c4764eaf95cb47c3678defcf@git.apache.org> In-Reply-To: <796648929a37498998c5badd91369872@git.apache.org> References: <796648929a37498998c5badd91369872@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/9] accumulo git commit: ACCUMULO-4685 Fix bug in FileRefTest archived-at: Mon, 24 Jul 2017 21:26:41 -0000 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.8 Commit: f78a5d96b29b43d0d50e6ca1fef632a6ed43f4ae Parents: 818e56b Author: Christopher Tubbs Authored: Mon Jul 24 16:24:09 2017 -0400 Committer: Christopher Tubbs 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");