summaryrefslogtreecommitdiff
path: root/qpid/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
commit1b93f2cf877411807b16a6966093e36f67f91726 (patch)
tree2407817b96f8b878972527e59ad6865e01cc6559 /qpid/java
parent9e2daa5be0548f723ced11abcf02e99e60a7b15a (diff)
downloadqpid-python-1b93f2cf877411807b16a6966093e36f67f91726.tar.gz
QPID-2002 : Fix for BrokerLoggingTest NPE.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801904 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
index 33f4d5402b..d417349c7f 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
+++ b/qpid/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.
}