diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2006-11-07 12:58:37 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2006-11-07 12:58:37 +0000 |
| commit | 7ec870d5be570a759417eb92f4c69260480bc381 (patch) | |
| tree | 2124ad5090eeed118dd350630c01202cfcb43d0b /qpid/java | |
| parent | a2ed6f64ebb20eb0d11619e368770e4398f3b118 (diff) | |
| download | qpid-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.java | 7 |
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 { |
