db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r439041 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
Date Thu, 31 Aug 2006 20:39:26 GMT
Author: mikem
Date: Thu Aug 31 13:39:25 2006
New Revision: 439041

URL: http://svn.apache.org/viewvc?rev=439041&view=rev

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/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java?rev=439041&r1=439040&r2=439041&view=diff
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testSecMec.java
Thu Aug 31 13:39:25 2006
@@ -238,9 +238,13 @@
-		        // Wait for the NetworkServer to start.
-		        if (!isServerStarted(networkServer, 60)) {
-                    System.out.println("FAIL: Server failed to respond to ping - ending test");
+		        // 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.out.println(
+                        "FAIL: Server failed to respond to ping - ending test");

View raw message