You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by km...@apache.org on 2010/03/09 19:12:59 UTC
svn commit: r921028 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
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();