hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14167) hbase-spark integration tests do not respect -DskipIntegrationTests
Date Thu, 14 Jan 2016 20:55:39 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098837#comment-15098837

Sean Busbey commented on HBASE-14167:

another thing but can be left for later when we actually need it is, different profiles for
small/medium/large scala tests

agreed. I don't remember if we categorize integration tests elsewhere.

change scalatest plugin to skip scala integration tests. Although we can simply skip over
all scala tests since all are ITs, I would say that we use tags so that non-it scala tests
can be easily added in future.

There are two different executions for the scalatest-maven-plugin. the first is for the 'test'
phase, which is non-it scala tests. It's set to always skip because the scalatest-maven-plugin
would run the integration tests at the test phase (this particular plugin is made for running
unit tests, we're just using it at integration test time). The second is for the 'integration
test' phase.

I agree that the skipITs profile should just cause the second execution to be skipped.

> hbase-spark integration tests do not respect -DskipIntegrationTests
> -------------------------------------------------------------------
>                 Key: HBASE-14167
>                 URL: https://issues.apache.org/jira/browse/HBASE-14167
>             Project: HBase
>          Issue Type: Improvement
>          Components: pom, spark
>    Affects Versions: 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: Gabor Liptak
>            Priority: Minor
>         Attachments: HBASE-14167-master-v2.patch, HBASE-14167.11.patch
> When running a build with {{mvn ... -DskipIntegrationTests}}, the hbase-spark module's
integration tests do not respect the flag and run anyway. Fix. 

This message was sent by Atlassian JIRA

View raw message