You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/26 18:53:48 UTC

[jira] [Commented] (DERBY-6294) On z/os on some machines:testAttributeDrdaHost(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError

    [ https://issues.apache.org/jira/browse/DERBY-6294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720947#comment-13720947 ] 

ASF subversion and git services commented on DERBY-6294:
--------------------------------------------------------

Commit 1507368 from [~kmarsden] in branch 'code/trunk'
[ https://svn.apache.org/r1507368 ]

DERBY-6294 On z/os on some machines:testAttributeDrdaHost(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError 

Improve message when failure occurs. This does not fix the issue.
                
> 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
>            Assignee: 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