[JBoss JIRA] (JBWS-3903) Automatic / dynamic test port selection
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-3903?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-3903:
----------------------------------
Fix Version/s: jbossws-cxf-5.1.0.Final
(was: jbossws-cxf-5.1.0.Beta1)
> Automatic / dynamic test port selection
> ---------------------------------------
>
> Key: JBWS-3903
> URL: https://issues.jboss.org/browse/JBWS-3903
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf, productization
> Reporter: Alessio Soldano
> Fix For: jbossws-cxf-5.1.0.Final
>
>
> Jan writes:
> {quote}I think it would be nice to have some notes about ports used for testsuite run, because after move to arquillian there are many more ports used now.
> Something like that because there are several different configuration being started, you need all "offsetted" ports to be free.
> Reference for basic container ports: https://docs.jboss.org/author/display/WFLY8/Admin+Guide#AdminGuide-Interf...
> Current offsets:
> <port-offset.cxf-tests.jboss>0</port-offset.cxf-tests.jboss>
> <port-offset.cxf-tests.ssl-mutual-auth>5000</port-offset.cxf-tests.ssl-mutual-auth>
> <port-offset.cxf-tests.default-config-tests>10000</port-offset.cxf-tests.default-config-tests>
> <port-offset.cxf-tests.jms>35000</port-offset.cxf-tests.jms>
> <port-offset.shared-tests.jboss>15000</port-offset.shared-tests.jboss>
> <port-offset.shared-tests.default-config-tests>20000</port-offset.shared-tests.default-config-tests>
> <port-offset.shared-tests.address-rewrite>25000</port-offset.shared-tests.address-rewrite>
> <port-offset.cxf-spring-tests.jboss>30000</port-offset.cxf-spring-tests.jboss>
> And there are some special cases:
> - org.jboss.test.ws.jaxws.endpoint.EndpointTestCase
> -- where hardcoded 8081 port is used
> - org.jboss.test.ws.jaxws.cxf.udp.UDPEndpointAPITestCase
> -- hardcoded 9436
> - org.jboss.wsf.stack.cxf.addons.transports.udp.UDPTransportTest
> -- hardcoded 9434
> - org.jboss.test.ws.jaxws.samples.wsdd.WSDiscoveryTestCase
> -- 3072 port by WS-Discovery specification
> {quote}
> We should have something like the port utilities in org.apache.cxf.testutil.common.TestUtil (except that's not thread safe, while we need it to be thread safe to let the testsuite run with -Pfast profile).
> The idea is that we could have an "ofsetted" range of ports "reserved" for the JBossWS testsuite.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)