db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r921028 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
Date Tue, 09 Mar 2010 18:12:59 GMT
Author: kmarsden
Date: Tue Mar  9 18:12:58 2010
New Revision: 921028

URL: http://svn.apache.org/viewvc?rev=921028&view=rev
Log:
DERBY-4564 Replication tests do not pick up derby.tests.networkServerStartTimeout setting



Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java?rev=921028&r1=921027&r2=921028&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
Tue Mar  9 18:12:58 2010
@@ -2284,7 +2284,7 @@ public class ReplicationRun extends Base
             // DERBY-4564. Make replication tests use derby.tests.networkServerTimeout proeprty
             String userStartTimeout = getSystemProperty("derby.tests.networkServerStartTimeout");
             long startTimeout = (userStartTimeout != null )? 
-            		Long.parseLong(userStartTimeout): DEFAULT_SERVER_START_TIMEOUT;
+            		(Long.parseLong(userStartTimeout) * 1000): DEFAULT_SERVER_START_TIMEOUT;
             long iterations = startTimeout / PINGSERVER_SLEEP_TIME_MILLIS;		
             util.DEBUG(debugId+"************** Do .start().");
             serverThread.start();



Mime
View raw message