You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2016/04/19 01:53:25 UTC

[jira] [Comment Edited] (BIGTOP-2375) Add package tests

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

Roman Shaposhnik edited comment on BIGTOP-2375 at 4/18/16 11:52 PM:
--------------------------------------------------------------------

[~chinmay] I guess I forgot just how clunky our Package test entry point is :-( (patches are welcome to make it less so! :-))

At any rate, before you can run tests you actually have to specify the testsuite that you want to use. You can pick from the following list:
              * TestPackagesBasicsWithRM
              * TestPackagesBasics
              * TestPackagesPseudoDistributedServices
              * TestPackagesPseudoDistributedDependency
              * TestPackagesPseudoDistributedFileContents
              * TestPackagesPseudoDistributedWithRM
(you can open up corresponding class implementation to see how they are different from each other).

To get started I suggest picking TestPackagesBasicsWithRM. With that in mind your *last* command line is going to look something like:

{noformat}
$ mvn clean verify -f bigtop-tests/test-execution/package/pom.xml -Dorg.apache.bigtop.itest.log4j.level=TRACE -Dlog4j.debug=true -Dorg.apache.maven-failsafe-plugin.testInclude="**/TestPackagesBasicsWithRM.*" -Dbigtop.repo.file.url=http://xxxxxxx
{noformat}

The last two -D settings are for the name of the test suite and for the URL of the repo file describing the repo with your packages.

Hope this helps. If not -- please make sure to follow up on the list.


was (Author: rvs):
[~chinmay] I guess I forgot just how clunky our Package test entry point is :-( (patches are welcome to make it less so! :-))

At any rate, before you can run tests you actually have to specify the testsuite that you want to use. You can pick from the following list:
              * TestPackagesBasicsWithRM
              * TestPackagesBasics
              * TestPackagesPseudoDistributedServices
              * TestPackagesPseudoDistributedDependency
              * TestPackagesPseudoDistributedFileContents
              * TestPackagesPseudoDistributedWithRM
(you can open up corresponding class implementation to see how they are different from each other).

To get started I suggest picking TestPackagesBasicsWithRM. With that in mind your *last* command line is going to look something like:

{noformat}
$ mvn clean verify -f bigtop-tests/test-execution/package/pom.xml -Dorg.apache.bigtop.itest.log4j.level=TRACE -Dlog4j.debug=true -Dorg.apache.maven-failsafe-plugin.testInclude="**/TestPackagesBasicsWithRM.*" -Dcdh.repo.file.url=http://xxxxxxx
{noformat}

The last two -D settings are for the name of the test suite and for the URL of the repo file describing the repo with your packages.

Hope this helps. If not -- please make sure to follow up on the list.

> Add package tests
> -----------------
>
>                 Key: BIGTOP-2375
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2375
>             Project: Bigtop
>          Issue Type: Sub-task
>          Components: general
>    Affects Versions: 1.1.0
>            Reporter: Konstantin Boudnik
>            Assignee: Chinmay Kolhatkar
>             Fix For: 1.2.0
>
>
> Package tests need to be added as well.



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