Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 15606 invoked from network); 15 Jan 2010 13:26:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jan 2010 13:26:31 -0000 Received: (qmail 42032 invoked by uid 500); 15 Jan 2010 13:26:30 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 41951 invoked by uid 500); 15 Jan 2010 13:26:30 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 41942 invoked by uid 99); 15 Jan 2010 13:26:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 13:26:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Fri, 15 Jan 2010 13:26:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 19AA423889ED; Fri, 15 Jan 2010 13:26:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r899622 - /commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java Date: Fri, 15 Jan 2010 13:26:09 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100115132609.19AA423889ED@eris.apache.org> Author: sebb Date: Fri Jan 15 13:26:08 2010 New Revision: 899622 URL: http://svn.apache.org/viewvc?rev=899622&view=rev Log: Typo Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java?rev=899622&r1=899621&r2=899622&view=diff ============================================================================== --- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java (original) +++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java Fri Jan 15 13:26:08 2010 @@ -1357,7 +1357,7 @@ final long maxWait = 200; // wait for connection final long holdTime = 2 * maxWait; // how long to hold connection final int keyCount = 4; // number of different keys - final int threadsPerKey = 5; // number of threads to grab the key initiallu + final int threadsPerKey = 5; // number of threads to grab the key initially SimpleFactory factory = new SimpleFactory(); GenericKeyedObjectPool pool = new GenericKeyedObjectPool(factory); pool.setWhenExhaustedAction(GenericObjectPool.WHEN_EXHAUSTED_BLOCK); @@ -1395,6 +1395,7 @@ } assertEquals("Expected half the threads to fail",wtt.length/2,failed); } + /* * Very simple test thread that just tries to borrow an object from * the provided pool with the specified key and returns it