db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1413886 - in /db/derby/code/branches/10.9: ./ java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
Date Mon, 26 Nov 2012 21:54:20 GMT
Author: myrnavl
Date: Mon Nov 26 21:54:19 2012
New Revision: 1413886

URL: http://svn.apache.org/viewvc?rev=1413886&view=rev
Log:
DERBY-5975; intermittent nightly test failure across releases in Derby5937SlaveShutdownTest.testSlaveFailoverLeak
  merged revision 1412392 and revision 1413812 from trunk to disable the test with weme.

Modified:
    db/derby/code/branches/10.9/   (props changed)
    db/derby/code/branches/10.9/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java

Propchange: db/derby/code/branches/10.9/
------------------------------------------------------------------------------
  Merged /db/derby/code/trunk:r1412392,1413812

Modified: db/derby/code/branches/10.9/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.9/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java?rev=1413886&r1=1413885&r2=1413886&view=diff
==============================================================================
--- db/derby/code/branches/10.9/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
(original)
+++ db/derby/code/branches/10.9/java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/Derby5937SlaveShutdownTest.java
Mon Nov 26 21:54:19 2012
@@ -26,8 +26,10 @@ 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.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 +65,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