db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1412392 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
Date Thu, 22 Nov 2012 00:40:04 GMT
Author: myrnavl
Date: Thu Nov 22 00:40:04 2012
New Revision: 1412392

URL: http://svn.apache.org/viewvc?rev=1412392&view=rev
Log:
DERBY-5975; intermittent nightly test failure across releases in Derby5937SlaveShutdownTest.testSlaveFailoverLeak
  disabling test for weme

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java?rev=1412392&r1=1412391&r2=1412392&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
Thu Nov 22 00:40:04 2012
@@ -26,8 +26,12 @@ import java.sql.Connection;
 import java.sql.SQLException;
 import javax.sql.DataSource;
 import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.derbyTesting.functionTests.tests.store.BootLockTest;
 import org.apache.derbyTesting.functionTests.util.PrivilegedFileOpsForTests;
 import org.apache.derbyTesting.junit.BaseJDBCTestCase;
+import org.apache.derbyTesting.junit.BaseTestCase;
 import org.apache.derbyTesting.junit.JDBCDataSource;
 import org.apache.derbyTesting.junit.NetworkServerTestSetup;
 import org.apache.derbyTesting.junit.SecurityManagerSetup;
@@ -63,6 +67,13 @@ public class Derby5937SlaveShutdownTest 
     }
 
     public static Test suite() {
+        //DERBY-5975 test fails intermittently with weme causing a hang.
+        // Likely a jvm issue, so don't run on that OS...
+        if (BaseTestCase.isJ9Platform())
+        {
+            Test test = new TestSuite("Derby5937SlaveShutdownTest");
+            return test;
+        }
         Class klass = Derby5937SlaveShutdownTest.class;
         // The default security policy doesn't allow derby.jar to do
         // networking, which is needed for replication, so install a custom



Mime
View raw message