db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r1507392 - in /db/derby/code/branches/10.10: ./ java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
Date Fri, 26 Jul 2013 18:41:21 GMT
Author: kmarsden
Date: Fri Jul 26 18:41:20 2013
New Revision: 1507392

URL: http://svn.apache.org/r1507392
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/branches/10.10/   (props changed)
    db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java

Propchange: db/derby/code/branches/10.10/
------------------------------------------------------------------------------
  Merged /db/derby/code/trunk:r1507368

Modified: db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java?rev=1507392&r1=1507391&r2=1507392&view=diff
==============================================================================
--- db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
(original)
+++ db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/management/NetworkServerMBeanTest.java
Fri Jul 26 18:41:20 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