db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r676894 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Date Tue, 15 Jul 2008 12:11:25 GMT
Author: kmarsden
Date: Tue Jul 15 05:11:25 2008
New Revision: 676894

URL: http://svn.apache.org/viewvc?rev=676894&view=rev
Log:
DERBY-3777 SecureServerTest, SSLTest  failed on Zos with exit code 143 starting network server

Extend wait time for network server to come up.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java?rev=676894&r1=676893&r2=676894&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Tue Jul 15 05:11:25 2008
@@ -41,16 +41,13 @@
  */
 final public class NetworkServerTestSetup extends BaseTestSetup {
 
-    /** Setting maximum wait time to 300 seconds.   For some systems it looks
-     *  like restarting a server to listen on the same port is blocked waiting
-     *  for a system specific interval.  This number looks to be something
-     *  like 240 seconds on XP.  Waiting shorter than this time causes
-     *  intermittent failures on a laptop running XP with a software firewall
-     *  and a VPN.  Increasing the wait time should not adversely affect those
+    /** Setting maximum wait time to 40 seconds.   On some platforms
+     * it may take this long to start the server.  Increasing the wait
+     *  time should not adversely affect those
      *  systems with fast port turnaround as the actual code loops for 
      *  SLEEP_TIME intervals, so should never see WAIT_TIME.
      */
-    private static final long WAIT_TIME = 10000;
+    private static final long WAIT_TIME = 40000;
     
     /** Sleep for 500 ms before pinging the network server (again) */
     private static final int SLEEP_TIME = 100;



Mime
View raw message