Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93FE218F26 for ; Thu, 24 Sep 2015 06:03:07 +0000 (UTC) Received: (qmail 33556 invoked by uid 500); 24 Sep 2015 06:03:07 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 33510 invoked by uid 500); 24 Sep 2015 06:03:07 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 33495 invoked by uid 99); 24 Sep 2015 06:03:07 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 06:03:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AA9A51A0721 for ; Thu, 24 Sep 2015 06:03:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.975 X-Spam-Level: *** X-Spam-Status: No, score=3.975 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.006] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id OG-JCowDBA_O for ; Thu, 24 Sep 2015 06:03:00 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 74E31237B8 for ; Thu, 24 Sep 2015 06:03:00 +0000 (UTC) Received: (qmail 33463 invoked by uid 99); 24 Sep 2015 06:03:00 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 06:03:00 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 30A2F28654B; Thu, 24 Sep 2015 06:02:58 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1434900480831283493==" MIME-Version: 1.0 Subject: Re: Review Request 38546: FALCON-1462: Modify use of "testuser" in UTs and ITs From: "Sowmya Ramesh" To: "Sowmya Ramesh" , "Falcon" , "Narayan Periwal" Date: Thu, 24 Sep 2015 06:02:58 -0000 Message-ID: <20150924060258.31021.56683@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Sowmya Ramesh" X-ReviewGroup: Falcon X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/38546/ X-Sender: "Sowmya Ramesh" References: <20150921170044.24658.85280@reviews.apache.org> In-Reply-To: <20150921170044.24658.85280@reviews.apache.org> Reply-To: "Sowmya Ramesh" X-ReviewRequest-Repository: falcon-git --===============1434900480831283493== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Sept. 21, 2015, 5 p.m., Sowmya Ramesh wrote: > > webapp/pom.xml, line 88 > > > > > > Why is this change required? Also why do we have two dependency instances for falcon-common? > > Narayan Periwal wrote: > FalconTestUtil.java is in the common's module and we use this in webapp. For this, we have to add this as a separate dependency.${project.version}: This change was required because we dont have the falcon-common dependency(that also has type as "test-jar") in the main pom, so we need to specify the version here. > > Sowmya Ramesh wrote: > Won't the below change work instead of having two dependency instances for falcon-common? > > > org.apache.falcon > falcon-common > ${project.version} > test-jar > test > > > javax.servlet.jsp > jsp-api > > > My bad. I understand now that scope test dependency is required for IT tests. LGTM! - Sowmya ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38546/#review99760 ----------------------------------------------------------- On Sept. 21, 2015, 7:28 a.m., Narayan Periwal wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/38546/ > ----------------------------------------------------------- > > (Updated Sept. 21, 2015, 7:28 a.m.) > > > Review request for Falcon. > > > Repository: falcon-git > > > Description > ------- > > As part of FALCON-1027 a few tests were introduced that hardcode "testuser" as the user. Use FalconTestUtil.TEST_USER_2 instead. > > > Diffs > ----- > > common/src/test/java/org/apache/falcon/security/SecurityUtilTest.java 76d9f45 > prism/src/test/java/org/apache/falcon/security/FalconAuthenticationFilterTest.java 5627e68 > webapp/pom.xml 828f7f5 > webapp/src/test/java/org/apache/falcon/cli/FalconCLIIT.java 577b60d > webapp/src/test/java/org/apache/falcon/resource/EntityManagerJerseyIT.java 6d375c0 > webapp/src/test/java/org/apache/falcon/resource/MetadataResourceJerseyIT.java 749dfa5 > > Diff: https://reviews.apache.org/r/38546/diff/ > > > Testing > ------- > > Done. > > > Thanks, > > Narayan Periwal > > --===============1434900480831283493==--