You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2016/02/26 23:46:18 UTC

[jira] [Comment Edited] (HBASE-15350) Enable individual unit test in hbase-spark module

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

Sean Busbey edited comment on HBASE-15350 at 2/26/16 10:45 PM:
---------------------------------------------------------------

-1, please reconcile with HBASE-14167.

skipping the java unit tests was a bug. I don't remember if HBASE-14167 includes fixing it. the scala tests are all integration tests IIRC. wether htey are unit tests or integration tests, we should should make the way to specify them as close as possible to how to specify individual java tests.

For unit tests, that means something like  "mvn -Dtest=DefaultSourceSuite test" and for integration tests it means "mvn -Dit.test=DefaultSourceSuite verify" (with an optional -Dtest=NoUnitTests if you don't want any unit tests to run).


was (Author: busbey):
please reconcile with HBASE-14167.

skipping the java unit tests was a bug. I don't remember if HBASE-14167 includes fixing it. the scala tests are all integration tests IIRC. wether htey are unit tests or integration tests, we should should make the way to specify them as close as possible to how to specify individual java tests.

For unit tests, that means something like  "mvn -Dtest=DefaultSourceSuite test" and for integration tests it means "mvn -Dit.test=DefaultSourceSuite verify" (with an optional -Dtest=NoUnitTests if you don't want any unit tests to run).

> Enable individual unit test in hbase-spark module
> -------------------------------------------------
>
>                 Key: HBASE-15350
>                 URL: https://issues.apache.org/jira/browse/HBASE-15350
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Zhan Zhang
>            Assignee: Zhan Zhang
>         Attachments: HBASE-15350-1.patch, HBASE-15350-2.patch
>
>




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