summaryrefslogtreecommitdiff
path: root/java/broker/src/test
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-08-03 13:21:43 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-08-03 13:21:43 +0000
commit6257410df5bf96a29deb79ae6d97605058969fab (patch)
tree751f487df6f2b8c7ef69910721e9c6febf24d129 /java/broker/src/test
parent8544a92ae006a7eac0e8f08a6a358f94bdab0c26 (diff)
downloadqpid-python-6257410df5bf96a29deb79ae6d97605058969fab.tar.gz
QPID-2001 : Corrected MSLSubject, extracting the Store from the vhost fails to retrieve the right value during startup. So better to explicitly specify the vhost and message store.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800360 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker/src/test')
-rw-r--r--java/broker/src/test/java/org/apache/qpid/server/logging/subjects/MessageStoreLogSubjectTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/MessageStoreLogSubjectTest.java b/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/MessageStoreLogSubjectTest.java
index 05e86b9554..624421f447 100644
--- a/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/MessageStoreLogSubjectTest.java
+++ b/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/MessageStoreLogSubjectTest.java
@@ -34,7 +34,7 @@ public class MessageStoreLogSubjectTest extends AbstractTestLogSubject
_testVhost = ApplicationRegistry.getInstance().getVirtualHostRegistry().
getVirtualHost("test");
- _subject = new MessagesStoreLogSubject(_testVhost);
+ _subject = new MessagesStoreLogSubject(_testVhost, _testVhost.getMessageStore());
}
/**