diff options
-rw-r--r-- | java/client/test/src/org/apache/qpid/transacted/TransactedTest.java | 7 |
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 { |