db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r942476 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/BootLockTest.java
Date Sat, 08 May 2010 22:45:25 GMT
Author: dag
Date: Sat May  8 22:45:24 2010
New Revision: 942476

URL: http://svn.apache.org/viewvc?rev=942476&view=rev
Log:
DERBY-4179 bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456),
and Windows Vista

Followup patch, doc and comment changes only.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/BootLockTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/BootLockTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/BootLockTest.java?rev=942476&r1=942475&r2=942476&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/BootLockTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/BootLockTest.java
Sat May  8 22:45:24 2010
@@ -43,9 +43,10 @@ import org.apache.derbyTesting.junit.Dat
 import org.apache.derby.iapi.store.raw.data.DataFactory;
 
 /**
- * Testing for FileLocks that prevent Derby Double Boot.
+ * Testing file locks that prevent Derby "double boot" a.k.a "dual boot",
+ * i.e. two VMs booting a database concurrently, a disaster scenario.
  * <p/>
- * For Sun phoneME, test that the property {@code
+ * For phoneME, test that the property {@code
  * derby.database.forceDatabaseLock} protects us.
  * <p/>
  * FIXME: If DERBY-4646 is fixed, the special handling for phoneME
@@ -75,10 +76,9 @@ public class BootLockTest extends BaseJD
     }
 
     /**
-     * Creates a suite with two testcases, with and without some extra
-     * system properties.
+     * Creates a suite.
      *
-     * @return The test suite with both English and German locales.
+     * @return The test suite
      */
     public static Test suite() {
         TestSuite suite = new TestSuite("BootLockTest");
@@ -172,10 +172,11 @@ public class BootLockTest extends BaseJD
             minionSysErr = new BufferedReader(
                 new InputStreamReader(p.getErrorStream()));
 
-            // Create a socket so we know when subprogram has booted.  Since we
-            // run this test only in embedded mode, (re)use derby server port.
+            // Create a socket so we know when the minion has booted the db.
+            // Since we run this test only in embedded mode, (re)use derby
+            // server port.
             parentService = new ServerSocket(port);
-            parentService.setSoTimeout(60000); // max we wait is 60s
+            parentService.setSoTimeout(60000); // maximally we wait 60s
 
             try {
 



Mime
View raw message