db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r447938 - /db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
Date Tue, 19 Sep 2006 19:31:08 GMT
Author: mikem
Date: Tue Sep 19 12:31:07 2006
New Revision: 447938

URL: http://svn.apache.org/viewvc?view=rev&rev=447938
Log:
DERBY-1793

Increasing the maximum time to wait for the server to start up from 30 to 60
seconds.  The test checks in 500ms increments, so this change does not increase
the time for test to run for those who are already successfully running it.
So far this change has made this test pass in my environment, where previously
it failed consistently.  Since this test passes in the nightly full test runs
across a number of environments I assume the network server startup time is
somehow related to my particular machine (processor, memory, disk frag, firewall
, vpn, ...)

Others have seen this issue so I am committing to the codeline.  I have filed
a separate issue that work should be done to measure the performance of
network server startup as a targeted test (DERBY-1794).


Modified:
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java

Modified: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java?view=diff&rev=447938&r1=447937&r2=447938
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
(original)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
Tue Sep 19 12:31:07 2006
@@ -76,8 +76,10 @@
 		networkServer = new NetworkServerControl(InetAddress.getByName("localhost"),NETWORKSERVER_PORT);
 		networkServer.start(null);
 
-		// Wait for the NetworkServer to start.
-		if (!isServerStarted(networkServer, 60))
+        // Wait for the NetworkServer to start.  As part of DERBY-1793
+        // changed the wait from 60 to 120, which increased the maximum
+        // to 120 pings with a wait of 500 ms between each ping.  
+		if (!isServerStarted(networkServer, 120))
 			System.exit(-1);
 
 		// Now, go ahead and run the test.



Mime
View raw message