summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-08-07 07:50:55 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-08-07 07:50:55 +0000
commit76f94c1b186f8a041e83169d0680c99b99ce1f8d (patch)
tree6b47f7528c4d0260eb6cc1ef6603a4ab638879f0 /java
parent5edb1d4c2b06a1582e2a3e1f1b7b2f6f1a0dd552 (diff)
downloadqpid-python-76f94c1b186f8a041e83169d0680c99b99ce1f8d.tar.gz
QPID-2002 : Fix for BrokerLoggingTest NPE.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801904 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java b/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
index 33f4d5402b..d417349c7f 100644
--- a/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
+++ b/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
@@ -49,6 +49,9 @@ public class BrokerLoggingTest extends AbstractTestLogging
{
public void setUp() throws Exception
{
+ // We either do this here or have a null check in tearDown.
+ // As when this test is run against profiles other than java it will NPE
+ _monitor = new LogMonitor(_outputFile);
//We explicitly do not call super.setUp as starting up the broker is
//part of the test case.
}