]
Tomaz Cerar closed WFLY-3272.
-----------------------------
Resolution: Rejected
you should quote paramters like "-Dtest=clustered" not other way around.
this works also in powershell.
Running a single test on windows
--------------------------------
Key: WFLY-3272
URL:
https://issues.jboss.org/browse/WFLY-3272
Project: WildFly
Issue Type: Bug
Components: Test Suite
Affects Versions: 8.1.0.CR1
Environment: Windows7
Reporter: Martin Choma
While reading "Running a single test (or specified tests)" on
https://docs.jboss.org/author/display/WFLY8/WildFly+Integration+Testsuite...
Trying
{noformat}
integration-tests.bat install -Dtest='*Clustered*' -Dintegration.module
-Dts.clust
integration-tests.bat clean install
-Dtest=org/jboss/as/test/integration/ejb/async/*TestCase.java -Dintegration.module
-Dts.basic
{noformat}
get error
{noformat}
c:\Users\mchoma\Documents\GitHub\wildfly>integration-tests.bat install
-Dtest="*Clustered*" -Dintegration.module -Dts.clust
"Calling processTestDirectives install -Dtest "*Clustered*"
-Dintegration.module -Dts.clust"
Calling ..\.\tools\maven\bin\mvn.bat install -Dtest "*Clustered*"
-Dintegration.module -Dts.clust -Dintegration.module -Dsmoke.integration.tests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] WildFly Test Suite: Aggregator
[INFO] WildFly Test Suite: Integration
[INFO] WildFly Test Suite: Integration - Smoke
[INFO] WildFly Test Suite: Integration - Clustering
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building WildFly Test Suite: Aggregator 8.1.0.Final-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] WildFly Test Suite: Aggregator .................... FAILURE [0.023s]
[INFO] WildFly Test Suite: Integration ................... SKIPPED
[INFO] WildFly Test Suite: Integration - Smoke ........... SKIPPED
[INFO] WildFly Test Suite: Integration - Clustering ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.025s
[INFO] Finished at: Fri Apr 18 09:39:54 CEST 2014
[INFO] Final Memory: 11M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "*Clustered*". You must specify a valid
lifecycle phase or a goal in the format <plugin-prefix>:<goal> or
<plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<
goal>. Available lifecycle phases are: validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile, process-classes,
generate-test-sources, process-test-
sources, generate-test-resources, process-test-resources, test-compile,
process-test-classes, test, prepare-package, package, pre-integration-test,
integration-test, post-integration-test, verify,
install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundEx...
{noformat}
Isnt docs up to date? Or is there some problem in running tests on windows.
Thanx,
Martin