You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2012/09/13 19:41:30 UTC

svn commit: r1384423 - /activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompTestSupport.scala

Author: chirino
Date: Thu Sep 13 17:41:30 2012
New Revision: 1384423

URL: http://svn.apache.org/viewvc?rev=1384423&view=rev
Log:
Make sure we disconnect the requested client.

Modified:
    activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompTestSupport.scala

Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompTestSupport.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompTestSupport.scala?rev=1384423&r1=1384422&r2=1384423&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompTestSupport.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/test/StompTestSupport.scala Thu Sep 13 17:41:30 2012
@@ -67,7 +67,7 @@ class StompTestSupport extends BrokerFun
 
   def disconnect(c: StompClient = client) = {
     val rid = receipt_counter.incrementAndGet()
-    client.write(
+    c.write(
       "DISCONNECT\n" +
               "receipt:" + rid + "\n" +
               "\n")