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 fu...@apache.org on 2006/10/11 08:18:08 UTC
svn commit: r462705 -
/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetAutoStart.java
Author: fuzzylogic
Date: Tue Oct 10 23:18:07 2006
New Revision: 462705
URL: http://svn.apache.org/viewvc?view=rev&rev=462705
Log:
DERBY-803: Give the server threads time to finish their close
operations before we shut down the engine. Merge of revision 442490 from trunk.
Modified:
db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetAutoStart.java
Modified: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetAutoStart.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetAutoStart.java?view=diff&rev=462705&r1=462704&r2=462705
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetAutoStart.java (original)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetAutoStart.java Tue Oct 10 23:18:07 2006
@@ -631,6 +631,13 @@
System.out.println( " Connection close failed:");
System.out.println( " " + sqle.getMessage());
}
+ // DERBY-803: Give the server threads time to finish their close
+ // operations before we shut down the engine. Otherwise, we might get
+ // some (harmless) error messages printed to the console. See also
+ // DERBY-1020.
+ try {
+ Thread.sleep(5000);
+ } catch (InterruptedException ex) {}
try
{
DriverManager.getConnection( "jdbc:derby:;shutdown=true");