]
Pavel Janousek reassigned AS7-6803:
-----------------------------------
Assignee: Ondrej Zizka (was: Pavel Janousek)
NicInterfaceCriteriaUnitTestCase testBasic fails on a host configured
with a dual IP stack
------------------------------------------------------------------------------------------
Key: AS7-6803
URL:
https://issues.jboss.org/browse/AS7-6803
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 8.0.0.Alpha1
Reporter: Michael Musgrove
Assignee: Ondrej Zizka
This test fails when we run the test suite with the following IPv6 options:
{noformat}
-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true
-Djboss.bind.address=[::1] -Djboss.bind.address.management=[::1]
-Djboss.bind.address.unsecure=[::1]
{noformat}
It appears that the test is expecting an array containing one nic address but instead
gets two (IPv4 and IPv6) addresses. The linked JBTM jira is where we initially reported
the issue. Test output is:
{noformat}
Failed tests:
testBasic(org.jboss.as.controller.interfaces.NicInterfaceCriteriaUnitTestCase):
expected:<[/0:0:0:0:0:0:0:1%1]> but was:<[/0:0:0:0:0:0:0:1%1, /127.0.0.1]>
testMultipleCriteria(org.jboss.as.controller.interfaces.NotInterfaceCriteriaUnitTestCase):
expected:<{name:eth0 (eth0)=[/fe80:0:0:0:216:3eff:fe0e:a61c%2]}> but
was:<{name:eth0 (eth0)=[/fe80:0:0:0:216:3eff:fe0e:a61c%2, /172.17.131.3]}>
testMultipleCriteria(org.jboss.as.controller.interfaces.AnyInterfaceCriteriaUnitTestCase):
expected:<{name:lo (lo)=[/0:0:0:0:0:0:0:1%1], name:eth0
(eth0)=[/fe80:0:0:0:216:3eff:fe0e:a61c%2]}> but was:<{name:lo (lo)=[/127.0.0.1,
/0:0:0:0:0:0:0:1%1], name:eth0 (eth0)=[/fe80:0:0:0:216:3eff:fe0e:a61c%2,
/172.17.131.3]}>
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: