Kathey Marsden created DERBY-6294:
-------------------------------------
Summary: On z/os on some
machines:testAttributeDrdaHost(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError
Key: DERBY-6294
URL: https://issues.apache.org/jira/browse/DERBY-6294
Project: Derby
Issue Type: Bug
Environment: IBM 1.7 z/OS
Reporter: Kathey Marsden
1)
testAttributeDrdaHost(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError
at
org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest.testAttributeDrdaHost(NetworkServerMBeanTest.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
The failure is on the assertion below.
if (serverHost.equals("localhost") || serverHost.equals("127.0.0.1")) {
String mbeanHost = (String) getAttribute(
getNetworkServerMBeanObjectName(),
"DrdaHost");
assertNotNull(mbeanHost);
assertTrue("mbeanHost.equals("localhost")
|| mbeanHost.equals("127.0.0.1"));
--
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: http://www.atlassian.com/software/jira