db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1162737 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/_Suite.java
Date Mon, 29 Aug 2011 11:13:12 GMT
Author: kristwaa
Date: Mon Aug 29 11:13:12 2011
New Revision: 1162737

URL: http://svn.apache.org/viewvc?rev=1162737&view=rev
Log:
DERBY-5394: Reduce chance of OOME with XAMemTest.testDerby4137_TransactionTimeoutSpecifiedNotExceeded
in low memory suite

Execute the test XAMemTest last in the low memory suite because it doesn't
release all of the memory it uses (due to DERBY-4137).

Patch file: derby-5394-1a-execute_last.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/_Suite.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/_Suite.java?rev=1162737&r1=1162736&r2=1162737&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/_Suite.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/memory/_Suite.java
Mon Aug 29 11:13:12 2011
@@ -41,8 +41,10 @@ public class _Suite extends BaseJDBCTest
         suite.addTest(MultiByteClobTest.suite());
         suite.addTest(RolesDependencyTest.suite());
         suite.addTest(Derby3009Test.suite());
-        suite.addTest(XAMemTest.suite());
         suite.addTest(MemoryLeakFixesTest.suite());
+
+        // DERBY-5394: Let this test run as the last test - it eats up memory.
+        suite.addTest(XAMemTest.suite());
         return suite;
     }
 }



Mime
View raw message