db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1448441 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Date Wed, 20 Feb 2013 22:15:34 GMT
Author: kristwaa
Date: Wed Feb 20 22:15:33 2013
New Revision: 1448441

URL: http://svn.apache.org/r1448441
Log:
DERBY-6085: Improve error reporting when server port is unavailable

Added port and host to error message.

Patch file: derby-6085-1a-port_host_errmsg.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java?rev=1448441&r1=1448440&r2=1448441&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Wed Feb 20 22:15:33 2013
@@ -255,7 +255,8 @@ final public class NetworkServerTestSetu
                     Thread.sleep(SLEEP_TIME);
                 } else {
                     BaseTestCase.fail(
-                        "Timed out waiting for server port to become available",
+                        "Timed out waiting for server port " + port +
+                        " to become available on host " + conf.getHostName(),
                         ioe);
                 }
             }



Mime
View raw message