=== modified file 'java/testsuite/BaseNdbjTestCase.java'
--- a/java/testsuite/BaseNdbjTestCase.java	2008-01-30 05:08:31 +0000
+++ b/java/testsuite/BaseNdbjTestCase.java	2008-02-20 15:10:05 +0000
@@ -30,7 +30,7 @@
 	protected static String CLUSTER_LOG="";
 	protected static Connection MYSQL_CONN=null;
 	
-	protected static NdbClusterConnection ndbConn=null;
+	protected NdbClusterConnection ndbConn=null;
 	protected com.mysql.cluster.ndbj.Ndb ndb=null;
 	protected NdbTransaction trans=null;
 	
@@ -186,10 +186,15 @@
 	public void tearDown() throws Exception {
 
 
-		if (trans != null)
+		if (trans != null) {
 			trans.close();
+			trans=null;
+		}
 
 		ndb.close();
+		ndb=null;
+		ndbConn.close();
+		ndbConn = null;
 		super.tearDown();
 	}
 	



