You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ai...@apache.org on 2009/08/19 15:21:54 UTC

svn commit: r805795 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java

Author: aidan
Date: Wed Aug 19 13:21:54 2009
New Revision: 805795

URL: http://svn.apache.org/viewvc?rev=805795&view=rev
Log:
QPID-2049: close the connection after checking the log file, giving the broker enough time to start and suspend the connection.

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

Modified: qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java?rev=805795&r1=805794&r2=805795&view=diff
==============================================================================
--- qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java (original)
+++ qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java Wed Aug 19 13:21:54 2009
@@ -342,8 +342,6 @@
         _session.commit();
         
         
-        _connection.close();
-
         //Validate
         List<String> results = _monitor.findMatches("SUB-1003");
 
@@ -396,6 +394,7 @@
             }
             throw afe;
         }
+        _connection.close();
 
     }
 



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