accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <>
Subject Re: Can no longer run ITs on command line like before
Date Tue, 16 Jun 2015 04:40:58 GMT
Not sure if this was a typo, or the problem, but you're trying to run
an IT with the surefire plugin, rather than the failsafe plugin. This
is incorrect. Your command should be:

`mvn clean verify -Dtest=skipall -Dit.test=CyclicReplicationIT

This will cause the surefire plugin to be a noop (because "skipall"
doesn't match anything), and the failsafe plugin will work as
expected, executing the test in question.

Christopher L Tubbs II

On Mon, Jun 15, 2015 at 11:05 PM, Josh Elser <> wrote:
> Trying to look into a failing test for Eric, and I see that the following no
> longer runs the test:
> `mvn clean package -Dtest=CyclicReplicationIT -DfailIfNoTests=false`
> Looks like this is because the maven-surefire-plugin configuration doesn't
> have the same testSourcesDirectory configuration that failsafe does.
> While I understand that it's not "the most correct way to invoke ITs", I
> think this is an impediment for devs (especially with all of the other cruft
> tied into the verify lifecycle phase).
> Is there a reason this doesn't wasn't done?

View raw message