No config XSLT transform for basic integration tests (#751)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

No config XSLT transform for basic integration tests (#751)

Thomas Diesler
The XSLT transform that I need does more than just tweak the ports.

The general requirement would be that a set/group of test can do a
transformation of the original config before it runs. This works for
smoke tests, which run against a transformed server config (i.e.
target/jbossas-smoke/configuration) but not for the basic integration tests.


-thomas

On 12/01/2011 01:16 PM, Kabir Khan wrote:
> As suggested on the mailing list last week. If we change the config files to use port-offset="${jboss.port.offset:0}" and make the tests use -Djboss.port.offset=??? instead there might not be any need for xslt to change the portes.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/jbossas/jboss-as/pull/751#issuecomment-2974043

--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: No config XSLT transform for basic integration tests (#751)

Ondrej Zizka
Hi,

before someone starts copying XML snippects across all pom.xml's, let me remind:

The concept is (was) to do the changes recursively from global to sub-module specific:

   1) Copy AS from ${jboss.dist} to target/jbossas
   2) Do the global changes like IP/ports/database config
   3) Let the submodules copy this to their target/jbossas and perform their specific config changes.

These warnings started appearing after the test files were moved to modules:
     [copy] Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/smoke does not exist.
     [copy] Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/clustering-udp-0 does not exist.
     [copy] Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/clustering-udp-1 does not exist.
     [copy] Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/iiop-client does not exist.
     [copy] Warning: /home/ondra/work/AS7/ozizka-as7/testsuite/integration/src/test/resources/test-configs/iiop-server does not exist.

I guess someone forgot to edit the ant script.


Ondra




Thomas Diesler píše v Čt 01. 12. 2011 v 16:40 +0100:
The XSLT transform that I need does more than just tweak the ports.

The general requirement would be that a set/group of test can do a 
transformation of the original config before it runs. This works for 
smoke tests, which run against a transformed server config (i.e. 
target/jbossas-smoke/configuration) but not for the basic integration tests.


-thomas

On 12/01/2011 01:16 PM, Kabir Khan wrote:
> As suggested on the mailing list last week. If we change the config files to use port-offset="${jboss.port.offset:0}" and make the tests use -Djboss.port.offset=??? instead there might not be any need for xslt to change the portes.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/jbossas/jboss-as/pull/751#issuecomment-2974043


_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev