Author: ritchiem
Date: Tue Nov  7 04:58:37 2006
New Revision: 472093

URL: http://svn.apache.org/viewvc?view=rev&rev=472093
Log:
Disabled auto creation of vm brokers.

Modified:
    
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java

Modified: 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java?view=diff&rev=472093&r1=472092&r2=472093
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
 Tue Nov  7 04:58:37 2006
@@ -29,6 +29,7 @@
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.Assert;
+import org.junit.BeforeClass;
 
 import javax.jms.*;
 
@@ -50,6 +51,12 @@
     private Session testSession;
     private MessageConsumer testConsumer1;
     private MessageConsumer testConsumer2;
+
+    @BeforeClass
+    public static void setupVM()
+    {
+        System.setProperty("amqj.NoAutoCreateVMBroker", "true");
+    }
 
     @Before
     public void setup() throws Exception


Reply via email to