summaryrefslogtreecommitdiff
path: root/qpid/java
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
commit7ec870d5be570a759417eb92f4c69260480bc381 (patch)
tree2124ad5090eeed118dd350630c01202cfcb43d0b /qpid/java
parenta2ed6f64ebb20eb0d11619e368770e4398f3b118 (diff)
downloadqpid-python-7ec870d5be570a759417eb92f4c69260480bc381.tar.gz
Disabled auto creation of vm brokers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@472093 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java b/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
index ca8ad9f07e..8b2c930a36 100644
--- a/qpid/java/client/test/src/org/apache/qpid/transacted/TransactedTest.java
+++ b/qpid/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
{