[jboss-jira] [JBoss JIRA] Commented: (JBNAME-45) org.jnp.interfaces.NamingContext issues with IPv6
Richard Achmatowicz (JIRA)
jira-events at lists.jboss.org
Mon Jan 17 11:15:49 EST 2011
[ https://issues.jboss.org/browse/JBNAME-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575998#comment-12575998 ]
Richard Achmatowicz commented on JBNAME-45:
-------------------------------------------
For the record:
I had a ball-park look at test coverage for Naming in 5.0.4.Final. The existing test cases are:
BootStrapURLUnitTest - tests generation of bootstrap URLs with IPv4 and IPv6 addresses
JndiPermissionTest - unit test of JndiPermissions class
NamingContextUnitTest - only tests the method NamingContext.shouldDiscoveryHappen()
NamingEventsUnitTest - tests EventContext and event Listeners
NamingMCUnitTest - tests bootstrapping the naming service with MC
NamingServerSecurityManagerTest - tests naming service with security manager
TestJNPSockets - tests org.jnp.interfaces.server.Main with custom socket factories
As far as I can tell, none of these tests really exercise processing of the different IP address formats which can be used with an InitialContext() and JNDI environment properties. This is becoming increasingly important as we move to IPv6 certification of AS 7.
Rickard Oberg created a client side test case which did do this (org.jnp.client.Main), but this is not run as part of the Naming testsuite during maven build and it only involves using localhost as a host name. I am in the process of rewriting this test case to run under JUnit within the Naming testsuite, and refactoring a bit to make what is being tested easier to identify.
If I may, Scott, once the test is completed, i'll attach it to this issue for your review.
> org.jnp.interfaces.NamingContext issues with IPv6
> --------------------------------------------------
>
> Key: JBNAME-45
> URL: https://issues.jboss.org/browse/JBNAME-45
> Project: JBoss Naming
> Issue Type: Bug
> Components: jnpserver
> Affects Versions: 5.0.4.GA
> Reporter: Richard Achmatowicz
> Assignee: Scott Stark
>
> There still seem to be outstanding issues with the way in which NamingContext handles IPv6 addresses which need addressing.
> Please see the linked issue for details.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list