Need an easy way to change the localhost string in the Netwrok server tests to 
test on a different sever (need for the Ipv6 Testing)
------------------------------------------------------------------------------------------------------------------------------------

         Key: DERBY-413
         URL: http://issues.apache.org/jira/browse/DERBY-413
     Project: Derby
        Type: Bug
  Components: Test  
    Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0    
    Reporter: Manjula Kutty


For Ipv6 testing I have to change the hardcoded "localhost " string in the 
netmats tests to run on a different ipv6 machine. It is better to have an easy 
meachanism for example read the hostname from a property file or similar.  
There are about 16 or files where the localhost is hardcoded: 

org\apache\derbyTesting\functionTests\tests\derbynet\testclientij.sql
org\apache\derbyTesting\functionTests\tests\derbynet\testij.sql
org\apache\derbyTesting\functionTests\tests\derbynet\DerbyNetAutoStart.java
org\apache\derbyTesting\functionTests\tests\derbynet\maxthreads.java
org\apache\derbyTesting\functionTests\tests\derbynet\testconnection.java
org\apache\derbyTesting\functionTests\tests\derbynet\timeslice.java
org\apache\derbyTesting\functionTests\tests\lang\declareGlobalTempTablejavaJDBC30.java
org\apache\derbyTesting\functionTests\harness\jvm.java
org\apache\derbyTesting\functionTests\harness\NetServer.java
org\apache\derbyTesting\functionTests\tests\derbynet\callable.java
org\apache\derbyTesting\functionTests\tests\derbynet\checkSecMgr.java
org\apache\derbyTesting\functionTests\tests\derbynet\dataSourcePermissions_net.java
org\apache\derbyTesting\functionTests\tests\derbynet\NSinSameJVM.java
org\apache\derbyTesting\functionTests\tests\derbynet\testProperties.java
org\apache\derbyTesting\functionTests\tests\tools\dblook_test.java
org\apache\derbyTesting\functionTests\util\TestUtil.java


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to