summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2006-11-07 12:58:37 +0000
committerMartin Ritchie <ritchiem@apache.org>2006-11-07 12:58:37 +0000
commit108e603b3a5ba878005c903303e8646cfe33f7f0 (patch)
tree8cb7cef595f6618ec9dab18672d6968a9d4b7255
parent332bd04ab0a9f40c9842e4c4f0ab6ac1ee157e4f (diff)
downloadqpid-python-108e603b3a5ba878005c903303e8646cfe33f7f0.tar.gz
Disabled auto creation of vm brokers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472093 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/test/src/org/apache/qpid/transacted/TransactedTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java b/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
index ca8ad9f07e..8b2c930a36 100644
--- a/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
+++ b/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
@@ -29,6 +29,7 @@ import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import org.junit.Assert;
+import org.junit.BeforeClass;
import javax.jms.*;
@@ -51,6 +52,12 @@ public class TransactedTest
private MessageConsumer testConsumer1;
private MessageConsumer testConsumer2;
+ @BeforeClass
+ public static void setupVM()
+ {
+ System.setProperty("amqj.NoAutoCreateVMBroker", "true");
+ }
+
@Before
public void setup() throws Exception
{