db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1393462 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/NetworkServerControlClientCommandTest.java
Date Wed, 03 Oct 2012 12:39:46 GMT
Author: kristwaa
Date: Wed Oct  3 12:39:46 2012
New Revision: 1393462

URL: http://svn.apache.org/viewvc?rev=1393462&view=rev
Log:
DERBY-5942: Assert failure in derbynet.NetworkServerControlClientCommandTest.testPingWithWrongHost

Bring invalid host name in accordance with RFC 2606.

Patch file: derby-5942-1a-rfc2606.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/NetworkServerControlClientCommandTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/NetworkServerControlClientCommandTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/NetworkServerControlClientCommandTest.java?rev=1393462&r1=1393461&r2=1393462&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/NetworkServerControlClientCommandTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/NetworkServerControlClientCommandTest.java
Wed Oct  3 12:39:46 2012
@@ -105,7 +105,8 @@ public class NetworkServerControlClientC
     
     public void testPingWithWrongHost() throws InterruptedException, IOException {
         String[] pingWithoutArgsCmd = new String[] {
-                "org.apache.derby.drda.NetworkServerControl", "ping", "-h", "nothere"};
+                "org.apache.derby.drda.NetworkServerControl",
+                "ping", "-h", "nothere.invalid"};
                 
         pingWithoutArgsCmd = decorateCmdWithEnglishLocale(pingWithoutArgsCmd);
                 



Mime
View raw message