From commits-return-16592-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Wed Jul 6 09:21:23 2011 Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A1766FCB for ; Wed, 6 Jul 2011 09:21:23 +0000 (UTC) Received: (qmail 40729 invoked by uid 500); 6 Jul 2011 09:21:22 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 40310 invoked by uid 500); 6 Jul 2011 09:21:11 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 40292 invoked by uid 99); 6 Jul 2011 09:21:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 09:21:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 09:21:02 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 75D9B2388897 for ; Wed, 6 Jul 2011 09:20:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1143306 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/ConnectTest.java Date: Wed, 06 Jul 2011 09:20:41 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110706092041.75D9B2388897@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gtully Date: Wed Jul 6 09:20:41 2011 New Revision: 1143306 URL: http://svn.apache.org/viewvc?rev=1143306&view=rev Log: https://issues.apache.org/jira/browse/AMQ-3393 - Number of established STOMP connections constantly increasing. resolve contention over delayed stop. Add soLinger=0 for hudson builds Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/ConnectTest.java Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/ConnectTest.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/ConnectTest.java?rev=1143306&r1=1143305&r2=1143306&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/ConnectTest.java (original) +++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/ConnectTest.java Wed Jul 6 09:20:41 2011 @@ -40,7 +40,7 @@ public class ConnectTest { brokerService = new BrokerService(); brokerService.setPersistent(false); brokerService.setAdvisorySupport(false); - brokerService.addConnector("stomp://0.0.0.0:61612"); + brokerService.addConnector("stomp://0.0.0.0:61612?transport.soLinger=0"); brokerService.start(); }