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 72DE5200B8F for ; Thu, 15 Sep 2016 23:28:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 71AFF160ADE; Thu, 15 Sep 2016 21:28:22 +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 BBB86160ADB for ; Thu, 15 Sep 2016 23:28:21 +0200 (CEST) Received: (qmail 49661 invoked by uid 500); 15 Sep 2016 21:28:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 49433 invoked by uid 99); 15 Sep 2016 21:28:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 21:28:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A48DD2C0D5B for ; Thu, 15 Sep 2016 21:28:20 +0000 (UTC) Date: Thu, 15 Sep 2016 21:28:20 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13573) S3Guard: create basic contract tests for MetadataStore implementations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Sep 2016 21:28:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494564#comment-15494564 ] Chris Nauroth commented on HADOOP-13573: ---------------------------------------- Thank you for the updated patch. I think we just have one more assertion that flipped the expected and actual arguments: {code} assertEquals("Cached file size correct.", meta.getFileStatus().getLen(), 200); {code} Can you please change that? Also, are you planning to address the TODOs now, or in a later JIRA? I'm fine either way. Since this is a feature branch, we have freedom to leave temporary TODOs. > S3Guard: create basic contract tests for MetadataStore implementations > ---------------------------------------------------------------------- > > Key: HADOOP-13573 > URL: https://issues.apache.org/jira/browse/HADOOP-13573 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Reporter: Aaron Fabbri > Assignee: Aaron Fabbri > Attachments: HADOOP-13573-HADOOP-13345.002.patch, HADOOP-13573.001.patch > > > We should have some contract-style unit tests for the MetadataStore interface to validate that the different implementations provide correct semantics. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org