[
https://jira.jboss.org/browse/JBAS-8540?page=com.atlassian.jira.plugin.sy...
]
Richard Achmatowicz commented on JBAS-8540:
-------------------------------------------
18. There are several places in the testsuite where we need to fix URLs. Of these, there
are two cases:
- a test class makes use of System.getPropertry("jbosstest.cluster.node0",
"localhost") to obtain the bind address of the the current host and inserts
that hoistname directly into a URL
- a test case passes a hostname into another class (e.g. a class like
org.jboss.test.clsuter.testutil.DBSetup which takes host, port parameters to connect to a
remote DB) and that class later on inserts the hostname into a URL
A solution to the first case is to provide JBossClusteredTestCase.getHostHorURL() or make
use of System.getPropertry("jbosstest.cluster.node0.url",
"localhost") instedea, depending on circumstances (i.e. not all test cases
subclass JBossClusteredTestCase.
In the second case, we need to be able to fix up hostames, in a lot of different test
helper classes - particularly in the clustering test cases. So, I have introduced a
utility class to jboss-test called JBossTestUtil.java which will among others contain a
method called fixHostnameForURL(String host). This is a static method, can be called from
anyehere in the testsuite, and centralises the changes required in one spot. We may find
use for other utilityy functions which cross test class hierarchies.
Modify AS 6 and AS 6 testsuite to work with IPv6 addresses
----------------------------------------------------------
Key: JBAS-8540
URL:
https://jira.jboss.org/browse/JBAS-8540
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.M4
Environment: All certified platforms.
Reporter: Richard Achmatowicz
Assignee: Richard Achmatowicz
Fix For: TBD
Modify AS 6 and the AS 6 testsuite to work with IPv6 addresses.
The end result should be:
(i) AS 6 boots cleanly with both IPv4 and IPv6 addresses
(ii) the AS testsuite and its test cases run cleanly against IPv4 and IPv6 addresses
This task does not aim to certify that AS 6 is IPv6-compatible or ready. Such a
certification may require the development of additional test cases to verify specific
features relating to IPv6. For a discussion of such issues, see
https://docspace.corp.redhat.com/docs/DOC-47796.
This work is a precursor to making AS 7 IPv6 compatible.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira