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 B5E53200BE2 for ; Wed, 30 Nov 2016 07:34:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B4E1F160B08; Wed, 30 Nov 2016 06:34:00 +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 0A138160B13 for ; Wed, 30 Nov 2016 07:33:59 +0100 (CET) Received: (qmail 6268 invoked by uid 500); 30 Nov 2016 06:33:59 -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 6095 invoked by uid 99); 30 Nov 2016 06:33:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 06:33:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9B3B42C03ED for ; Wed, 30 Nov 2016 06:33:58 +0000 (UTC) Date: Wed, 30 Nov 2016 06:33:58 +0000 (UTC) From: "John Zhuge (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13848) Missing auth-keys.xml prevents detecting test code build problem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 30 Nov 2016 06:34:00 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Zhuge updated HADOOP-13848: -------------------------------- Priority: Blocker (was: Minor) > Missing auth-keys.xml prevents detecting test code build problem > ---------------------------------------------------------------- > > Key: HADOOP-13848 > URL: https://issues.apache.org/jira/browse/HADOOP-13848 > Project: Hadoop Common > Issue Type: Improvement > Components: fs/s3, fs/swift, test > Reporter: John Zhuge > Assignee: John Zhuge > Priority: Blocker > > Both hadoop-aws and hadoop-openstack require the existence of file {{src/test/resources/auth-keys.xml}} to run the tests. With the design of the pom.xml, the non-existence of auth-keys.xml also prevents building the test code. Unfortunately this leads to delayed detection of build problems in test code, e.g., introduced by a mistake in backports. > {code} > > tests-off > > > src/test/resources/auth-keys.xml > > > > true > > > > tests-on > > > src/test/resources/auth-keys.xml > > > > false > > > {code} > Section {{Skipping by Default}} in http://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html proposes a solution. Any time you want to run tests, you must do 2 things instead of 1: > * Copy auth-keys.xml to src/test/resources > * Run {{mvn install}} with the extra {{-DskipTests=false}} > Would like the community to weigh in on this. -- 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