Does not work for JUnit3 tests, but one can just rename the method so it does not start with test.
I use something like: IGNOREDtestxxxx But I agree that commenting out is as good (more work to install and remove) On 13 April 2014 11:38, Gary Gregory <[email protected]> wrote: > I use @Ignore instead of comments. > > Gary > > <div>-------- Original message --------</div><div>From: [email protected] > </div><div>Date:04/13/2014 02:10 (GMT-05:00) </div><div>To: > [email protected] </div><div>Subject: svn commit: r1586926 - in > /commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2: > TestConnectionPool.java TestPStmtPoolingBasicDataSource.java </div><div> > </div>Author: psteitz > Date: Sun Apr 13 06:10:44 2014 > New Revision: 1586926 > > URL: http://svn.apache.org/r1586926 > Log: > Added test (commented out) to illustrate DBCP-415. > > Modified: > > commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java > > commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestPStmtPoolingBasicDataSource.java > <snip> > } > + /* > + public void testMultipleThreads1() throws Exception { > + ds.setMaxWaitMillis(-1); > + ds.setMaxTotal(5); > + ds.setMaxOpenPreparedStatements(-1); > + multipleThreads(5, false, false, -1, 3, 100, 10000); > + } > + */ > } > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
