Author: ritchiem
Date: Fri Aug  7 07:50:55 2009
New Revision: 801904

URL: http://svn.apache.org/viewvc?rev=801904&view=rev
Log:
QPID-2002 : Fix for BrokerLoggingTest NPE.

Modified:
    
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java

Modified: 
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java?rev=801904&r1=801903&r2=801904&view=diff
==============================================================================
--- 
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
 (original)
+++ 
qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/BrokerLoggingTest.java
 Fri Aug  7 07:50:55 2009
@@ -49,6 +49,9 @@
 {
     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.
     }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscr...@qpid.apache.org

Reply via email to