You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2016/02/11 01:12:18 UTC

[jira] [Created] (SQOOP-2831) Sqoop2: Precommit: Do not run multiple execution for integration tests

Jarek Jarcec Cecho created SQOOP-2831:
-----------------------------------------

             Summary: Sqoop2: Precommit: Do not run multiple execution for integration tests
                 Key: SQOOP-2831
                 URL: https://issues.apache.org/jira/browse/SQOOP-2831
             Project: Sqoop
          Issue Type: Bug
            Reporter: Jarek Jarcec Cecho
            Assignee: Jarek Jarcec Cecho
             Fix For: 1.99.7


We have several [different "executions" defined in our integration tests|https://github.com/apache/sqoop/blob/sqoop2/test/pom.xml#L214]. It seems that our purpose was to run one suite per execution, but the side effect is that it's hard to run one single tests as my usual command line:

{code}
mvn clean integration-test -pl test -Dtest=$TEST
{code}

Will execute the test {{$TEST}} once for each execution defined.

It seems that maven surefire plugin supports [multiple suites per single execution|http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html], so I'm wondering if that will work for us as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)