[JBoss JIRA] (WFLY-646) TS: Dynamic way to get ports of various services.
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/WFLY-646?page=com.atlassian.jira.plugin.s... ]
Ondrej Zizka reassigned WFLY-646:
---------------------------------
Assignee: (was: Ondrej Zizka)
> TS: Dynamic way to get ports of various services.
> -------------------------------------------------
>
> Key: WFLY-646
> URL: https://issues.jboss.org/browse/WFLY-646
> Project: WildFly
> Issue Type: Sub-task
> Components: Test Suite
> Reporter: Ondrej Zizka
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> {code:java}
> private int getRecoveryManagerPort() throws IOException {
> /* /socket-binding-group=standard-sockets/socket-binding=txn-recovery-environment:read-attribute(name=port) */
> final ModelNode address = new ModelNode();
> address.add("socket-binding-group", "standard-sockets");
> address.add("socket-binding", "txn-recovery-environment");
> final ModelNode operation = new ModelNode();
> operation.get(OP).set(READ_ATTRIBUTE_OPERATION);
> operation.get(OP_ADDR).set(address);
> operation.get("name").set("port");
> try {
> return executeOperation(operation).asInt();
> } catch (MgmtOperationException ignored) { }
> return -1;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-644) TS: Allow XSLT to fit any namespace versions.
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/WFLY-644?page=com.atlassian.jira.plugin.s... ]
Ondrej Zizka reassigned WFLY-644:
---------------------------------
Assignee: (was: Ondrej Zizka)
> TS: Allow XSLT to fit any namespace versions.
> ---------------------------------------------
>
> Key: WFLY-644
> URL: https://issues.jboss.org/browse/WFLY-644
> Project: WildFly
> Issue Type: Sub-task
> Components: Test Suite
> Reporter: Ondrej Zizka
> Original Estimate: 2 days
> Time Spent: 2 hours
> Remaining Estimate: 1 day, 6 hours
>
> Namespaces versions change during development, which leads to upstream testsuite versus EAP releases mismatch, which is undesirable as the testsuite sometimes contains more up-to-date tests.
> It would be good to have XLST matching namespaces but except version.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-3272) Running a single test on windows
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/WFLY-3272?page=com.atlassian.jira.plugin.... ]
Ondrej Zizka reassigned WFLY-3272:
----------------------------------
Assignee: (was: Ondrej Zizka)
> 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
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (WFLY-634) TS: Pass the path to docs/examples to the tests.
by Ondrej Zizka (JIRA)
[ https://issues.jboss.org/browse/WFLY-634?page=com.atlassian.jira.plugin.s... ]
Ondrej Zizka reassigned WFLY-634:
---------------------------------
Assignee: (was: Ondrej Zizka)
> TS: Pass the path to docs/examples to the tests.
> ------------------------------------------------
>
> Key: WFLY-634
> URL: https://issues.jboss.org/browse/WFLY-634
> Project: WildFly
> Issue Type: Sub-task
> Components: Test Suite
> Reporter: Ondrej Zizka
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In AS7, the path to the config file, passed in a system property, is only allowed to be a relative path.
> In the testsuite, we would make use of absolute paths.
> The reason is that we reuse the configs from docs/examples, and they change quite often, so having them in resources would be hardly maintainable.
> However, docs/examples is not guaranteed to be always in the same place: E.g. for EAP, or for RPM-based installation of EAP it might end up in /var/docs or such.
> I would like to pass some property from maven to the tests, but that results in absolute path.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months