[
https://issues.apache.org/jira/browse/WHIRR-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548516#comment-13548516
]
Guido Serra aka Zeph commented on WHIRR-689:
--------------------------------------------
k, it seems to be due to the dependency of the build with the tests...
{code}
v1:whirr zeph$ mvn -Dtest=DestroyClusterCommandTest -DskipTests test
[...]
[INFO] Apache Whirr Examples ............................. SUCCESS [1.033s]
[INFO] Apache Whirr CDH Old Tests ........................ SUCCESS [1.100s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.524s
[INFO] Finished at: Wed Jan 09 14:38:04 CET 2013
[INFO] Final Memory: 36M/123M
[INFO] ------------------------------------------------------------------------
{code}
obviously NONE of the tests get run, but at least it compiles
I guess I just need to remove the dependency between the compilation and tests'
execution
would be a viable/acceptable solution/patch? [~tomwhite] ?
> can't run *only* a single test
> ------------------------------
>
> Key: WHIRR-689
> URL: https://issues.apache.org/jira/browse/WHIRR-689
> Project: Whirr
> Issue Type: Bug
> Reporter: Guido Serra aka Zeph
> Labels: test, test-fail, testing, tests, testsuite
>
> attempting to run only a specific test, and not the full test suite
> (I wonder if I have dependencies that prevent me from doing that)
> {code}
> mvn -Dtest=InstallModuleFromGitTest test
> {code}
> ...fails miserably
> {code}
> [...]
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> There are no tests to run.
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Whirr Build Tools .......................... FAILURE [1.123s]
> [INFO] Whirr ............................................. SKIPPED
> [...]
> {code}
> reference:
> -
> http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira