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 vn...@apache.org on 2008/06/09 13:54:32 UTC
svn commit: r664684 -
/db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
Author: vnarayanan
Date: Mon Jun 9 04:54:32 2008
New Revision: 664684
URL: http://svn.apache.org/viewvc?rev=664684&view=rev
Log:
DERBY-3632
The Patch increases the timeout for starting the master and
slave servers and the timeout for a successfull "startmaster=true"
in the replication tests, Now allows up to 120s before giving up.
Patch Contributor: Ole Solberg
Modified:
db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
Modified: db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java?rev=664684&r1=664683&r2=664684&view=diff
==============================================================================
--- db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java (original)
+++ db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java Mon Jun 9 04:54:32 2008
@@ -252,7 +252,7 @@
}
}
- assertTrue("Failover did not succeed.", count++ < 100); // 100*200ms = 20s.
+ assertTrue("Failover did not succeed.", count++ < 600); // 600*200ms = 120s = 2mins.
}
}
@@ -908,12 +908,13 @@
{
util.DEBUG("Master already started?");
}
- util.DEBUG("Got: "+state+" Expected "+expectedState);
+ util.DEBUG("startMaster_direct Got: "
+ +state+" Expected "+expectedState);
throw se;
}
}
- this.assertTrue("startMaster did not succeed.", count++ < 100); // 100*100ms = 10s.
+ assertTrue("startMaster did not succeed.", count++ < 1200); // 1200*100ms = 120s = 2mins.
}
util.DEBUG("startMaster_direct exit.");
}