falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh" <sram...@hortonworks.com>
Subject Re: Review Request 38546: FALCON-1462: Modify use of "testuser" in UTs and ITs
Date Thu, 24 Sep 2015 05:43:43 GMT


> On Sept. 21, 2015, 5 p.m., Sowmya Ramesh wrote:
> > webapp/pom.xml, line 88
> > <https://reviews.apache.org/r/38546/diff/1/?file=1077931#file1077931line88>
> >
> >     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.<version>${project.version}</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.

Won't the below change work instead of having two dependency instances for falcon-common?

<dependency>
            <groupId>org.apache.falcon</groupId>
            <artifactId>falcon-common</artifactId>
            <version>${project.version}</version>
            <type>test-jar</type>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet.jsp</groupId>
                    <artifactId>jsp-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>


- 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message