Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 22816 invoked from network); 16 May 2010 13:20:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 May 2010 13:20:18 -0000 Received: (qmail 27949 invoked by uid 500); 16 May 2010 13:20:18 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 27904 invoked by uid 500); 16 May 2010 13:20:18 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 27897 invoked by uid 99); 16 May 2010 13:20:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 13:20:18 +0000 X-ASF-Spam-Status: No, hits=-1366.9 required=10.0 tests=ALL_TRUSTED,AWL 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; Sun, 16 May 2010 13:20:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 67D4223889B6; Sun, 16 May 2010 13:19:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r944826 - /directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java Date: Sun, 16 May 2010 13:19:56 -0000 To: commits@directory.apache.org From: seelmann@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100516131956.67D4223889B6@eris.apache.org> Author: seelmann Date: Sun May 16 13:19:56 2010 New Revision: 944826 URL: http://svn.apache.org/viewvc?rev=944826&view=rev Log: No shutdown hook for tests Modified: directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java Modified: directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java?rev=944826&r1=944825&r2=944826&view=diff ============================================================================== --- directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java (original) +++ directory/apacheds/trunk/core-annotations/src/main/java/org/apache/directory/server/core/factory/DefaultDirectoryServiceFactory.java Sun May 16 13:19:56 2010 @@ -74,6 +74,9 @@ public class DefaultDirectoryServiceFact // we we can set some properties like accesscontrol, anon access // before starting up the service directoryService = new DefaultDirectoryService(); + // no need to register a shutdown hook during tests because this + // starts a lot of threads and slows down test execution + directoryService.setShutdownHookEnabled( false ); } catch ( Exception e ) {