You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Yan Zhou <yz...@gmail.com> on 2016/09/26 15:04:07 UTC

How to run an individual Ranger test from maven?

Hi,

I'm wondering hot to run a particular Ranger test case, HDFSRangerTest,
using maven.
I tried the following but it does not work. Thanks

*mvn test -Dtest=HDFSRangerTest*

Re: How to run an individual Ranger test from maven?

Posted by Yan Zhou <yz...@gmail.com>.
Yes, it works. Thanks a lot!!

On Mon, Sep 26, 2016 at 8:53 AM, Colm O hEigeartaigh <co...@apache.org>
wrote:

> You need to go into the module where the test is to actually run it. If you
> run that line from the "hdfs-agent" module the test runs fine.
>
> Colm.
>
> On Mon, Sep 26, 2016 at 4:04 PM, Yan Zhou <yz...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I'm wondering hot to run a particular Ranger test case, HDFSRangerTest,
> > using maven.
> > I tried the following but it does not work. Thanks
> >
> > *mvn test -Dtest=HDFSRangerTest*
> >
>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>

Re: How to run an individual Ranger test from maven?

Posted by Colm O hEigeartaigh <co...@apache.org>.
You need to go into the module where the test is to actually run it. If you
run that line from the "hdfs-agent" module the test runs fine.

Colm.

On Mon, Sep 26, 2016 at 4:04 PM, Yan Zhou <yz...@gmail.com> wrote:

> Hi,
>
> I'm wondering hot to run a particular Ranger test case, HDFSRangerTest,
> using maven.
> I tried the following but it does not work. Thanks
>
> *mvn test -Dtest=HDFSRangerTest*
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com