[ 
https://issues.apache.org/jira/browse/SQOOP-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223906#comment-14223906
 ] 

Jarek Jarcec Cecho commented on SQOOP-1777:
-------------------------------------------

If you run {{mvn integration-test}} in the root of the project then yes, maven 
will execute both unit and integration tests. That is why my patch is calling 
the {{integration-test}} only on {{test}} module ({{mvn integration-test -pl 
test}}). In this case we will run the integration tests only in module {{test}} 
that contains all the integration tests :)

> Sqoop2: Pre-Commit build should be running integration tests as well
> --------------------------------------------------------------------
>
>                 Key: SQOOP-1777
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1777
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.4
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1777.patch, SQOOP-1777.patch
>
>
> I would like to configure our pre-commit hook to execute the integration 
> tests as well, so that we know that incoming patches are not breaking them. 
> Currently all integration tests can be executed without any external 
> dependencies which is suitable for Apache build servers. I'm assuming that in 
> the future when we add external dependencies, we will have to run only a 
> subset of the integration tests.



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

Reply via email to