[jboss-cvs] JBoss Messaging SVN: r5075 - branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 6 17:30:08 EDT 2008


Author: clebert.suconic at jboss.com
Date: 2008-10-06 17:30:07 -0400 (Mon, 06 Oct 2008)
New Revision: 5075

Modified:
   branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/NullPersistenceClusterTest.java
Log:
Fixing clustering testsuite

Modified: branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/NullPersistenceClusterTest.java
===================================================================
--- branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/NullPersistenceClusterTest.java	2008-10-06 14:27:34 UTC (rev 5074)
+++ branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/NullPersistenceClusterTest.java	2008-10-06 21:30:07 UTC (rev 5075)
@@ -21,11 +21,7 @@
  */
 package org.jboss.test.messaging.jms.clustering;
 
-import java.util.HashSet;
-import java.util.Set;
-
 import javax.jms.Connection;
-import javax.jms.DeliveryMode;
 import javax.jms.Message;
 import javax.jms.MessageConsumer;
 import javax.jms.MessageProducer;
@@ -34,6 +30,8 @@
 
 public class NullPersistenceClusterTest extends ClusteringTestBase
 {
+   
+   private final String originalPersistence = System.setProperty("test.database", "null");;
 
    public NullPersistenceClusterTest(String name)
    {
@@ -43,14 +41,13 @@
    protected void setUp() throws Exception
    {
       System.setProperty("test.database", "null");
-      System.setProperty("test.clustered", "true");
-      System.setProperty("remote", "true");
       super.setUp();
    }
 
    protected void tearDown() throws Exception
    {
       super.tearDown();
+      System.setProperty("test.database", originalPersistence);
    }
 
    public void testSimpleMessaging() throws Exception




More information about the jboss-cvs-commits mailing list