db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r1507368 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
Date Fri, 26 Jul 2013 16:51:50 GMT
Author: kmarsden
Date: Fri Jul 26 16:51:49 2013
New Revision: 1507368

URL: http://svn.apache.org/r1507368
Log:
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.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java?rev=1507368&r1=1507367&r2=1507368&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
Fri Jul 26 16:51:49 2013
@@ -178,7 +178,8 @@ public class NetworkServerMBeanTest exte
                 getNetworkServerMBeanObjectName(), 
                 "DrdaHost");
             assertNotNull(mbeanHost);
-            assertTrue(mbeanHost.equals("localhost") 
+            assertTrue("mbeanHost = " + mbeanHost + " (not localhost or 127.0.0.1)", 
+            mbeanHost.equals("localhost") 
                     || mbeanHost.equals("127.0.0.1"));
         } else {
             assertStringAttribute(serverHost,



Mime
View raw message