qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ai...@apache.org
Subject svn commit: r805795 - /qpid/trunk/qpid/java/systests/src/main/java/org/apache/qpid/server/logging/SubscriptionLoggingTest.java
Date Wed, 19 Aug 2009 13:21:54 GMT
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


Mime
View raw message